diff options
| author | The 8472 <git@infinite-source.de> | 2025-04-30 20:51:22 +0200 |
|---|---|---|
| committer | The 8472 <git@infinite-source.de> | 2025-06-05 01:27:17 +0200 |
| commit | cdeca5cbd323841285d41af33825864b5764642e (patch) | |
| tree | ad652b8d9133b762c46d263d29c4748d6419e19b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 4b27a04cc8ed4da10a546a871e23e665d03f7a79 (diff) | |
| download | rust-cdeca5cbd323841285d41af33825864b5764642e.tar.gz rust-cdeca5cbd323841285d41af33825864b5764642e.zip | |
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. ¹ see merge commit for linkfied issues.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
