about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-19 08:55:33 +0200
committerGitHub <noreply@github.com>2025-07-19 08:55:33 +0200
commitfff53f1dbbceffb8f017eb555b04ee056a246097 (patch)
tree90d26dafb429711399d746164e177550088d9837 /compiler/rustc_llvm/llvm-wrapper
parentebd8557637b33cc09b6ee8273f3154d5d3af6a15 (diff)
parent61c2c1211fc0591ff000fcb742f352f4e319ea82 (diff)
downloadrust-fff53f1dbbceffb8f017eb555b04ee056a246097.tar.gz
rust-fff53f1dbbceffb8f017eb555b04ee056a246097.zip
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions