Revert "Fix an ICE in the vtable iteration for a trait reference"#152738
Revert "Fix an ICE in the vtable iteration for a trait reference"#152738rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Conversation
|
r? @mati865 rustbot has assigned @mati865. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
p-critical issue, straightforward reverts like this don't need reviews per se, easy r+ imho. If you're not waiting on some wider discussion, r=me. |
|
@bors r+ p=10 |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 1210e9f (parent) -> 3f6250a (this PR) Test differencesShow 14 test diffsStage 1
Stage 2
Additionally, 2 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 3f6250a7bb79e600d9036bbc7c8f65af43933643 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (3f6250a): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 2.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 482.345s -> 480.825s (-0.32%) |
The ICE fix appears to be unsound, causing a miscompilation involving
dyn Traitandasync {}which induces segfaults in safe Rust code. As the patch only hid an ICE, it does not seem worth the risk.This addresses the problem in #152735 but it may still merit team discussion even if this PR is merged.
This reverts commit 8afd636, reversing changes made to 19122c0.