rust/library/coretests
Matthias Krüger fff53f1dbb
Rollup merge of #141076 - the8472:fix-zip-panic-safety2, r=workingjubilee
fix Zip unsoundness (again)

Some history: The Zip TrustedRandomAccess specialization has tried to emulate the side-effects of the naive implementation for a long time, including backwards iteration. #82292 tried to fix unsoundness (#82291) in that side-effect-preservation code, but this introduced some panic-safety unsoundness (#86443), but the fix #86452 didn't fix it for nested Zip iterators (#137255).

Rather than piling yet another fix ontop of this heap of fixes this PR reduces the number of cases in which side-effects will be preserved; the necessary API guarantee change was approved in #83791 but we haven't made use of that so far.

fixes #137255
2025-07-19 08:55:33 +02:00
..
benches Update stdarch 2025-05-01 20:01:43 +05:30
tests Rollup merge of #141076 - the8472:fix-zip-panic-safety2, r=workingjubilee 2025-07-19 08:55:33 +02:00
Cargo.toml Move float tests from std to core 2025-05-13 22:22:15 +00:00
lib.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00