Commit b5063c1
serde_2026: remove debug_assert_roundtrip
The fuzzer covers roundtrips more thoroughly (thousands of execs, mutations
discovering edge cases). debug_assert_roundtrip only runs in debug builds
(which nobody uses in practice), adds maintenance burden, and provides
negative incentive to use debug builds. The dedicated panic-finder catches
robustness bugs; the roundtrip-checker catches correctness bugs; the
debug assertion duplicates the latter and doesn't pull its weight.
Addresses Arvid's review thread on ser.rs:269.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent abef37a commit b5063c1
1 file changed
Lines changed: 0 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | 258 | | |
293 | 259 | | |
294 | 260 | | |
| |||
351 | 317 | | |
352 | 318 | | |
353 | 319 | | |
354 | | - | |
355 | | - | |
356 | 320 | | |
357 | 321 | | |
358 | 322 | | |
| |||
0 commit comments