-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable drop range tracking in generators #93165
Conversation
Generator drop tracking caused an ICE for generators involving the Never type (Issue rust-lang#93161). Since this breaks miri, we temporarily disable drop tracking so miri is unblocked while we properly fix the issue.
(rust-highfive has picked a reviewer for you, use r? to override) |
r? @RalfJung I went ahead and put this PR up in case we need a quick fix to the issue, since the original PR is large and would be hard to revert. I'll leave it up to you, @RalfJung, if we want to merge it. I'll look into a proper fix today. I suspect it will be pretty straightforward, but I haven't looked at it yet. |
FWIW this does not just break Miri, it breaks rustc as well. rustc just does not have a testcase that triggers the ICE, it seems. But I see you added one. :) So, disabling that Cc @nikomatsakis who reviewed #91032 |
@bors r+ |
📌 Commit ead84d0 has been approved by |
I updated the PR description to mention that this breaks one of the miri test cases, to hopefully make it clearer that rustc breaks in the same way. Disabling the |
…ng, r=nikomatsakis Disable drop range tracking in generators Generator drop tracking caused an ICE for generators involving the Never type (Issue rust-lang#93161). Since this breaks a test case with miri, we temporarily disable drop tracking so miri is unblocked while we properly fix the issue.
…ng, r=nikomatsakis Disable drop range tracking in generators Generator drop tracking caused an ICE for generators involving the Never type (Issue rust-lang#93161). Since this breaks a test case with miri, we temporarily disable drop tracking so miri is unblocked while we properly fix the issue.
@bors p=1 since we are getting several reports about the ICE already |
@bors retry Could not resolve host: ci-mirrors.rust-lang.org |
☀️ Test successful - checks-actions |
Tested on commit rust-lang/rust@d13e8dd. Direct link to PR: <rust-lang/rust#93165> 🎉 miri on linux: test-fail → test-pass (cc @RalfJung @oli-obk @eddyb).
Finished benchmarking commit (d13e8dd): comparison url. Summary: This change led to very large relevant regressions 😿 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
At least these perf results make clear that #91032 was indeed the source of the -89.5% perf results for the rollup in which it landed. This PR soft reverts it, negating the original change. @rustbot label: +perf-regression-triaged |
The previous PR, rust-lang#93165, still performed the drop range analysis despite ignoring the results. Unfortunately, there were ICEs in the analysis as well, so some packages failed to build (see the issue rust-lang#93197 for an example). This change further disables the analysis and just provides dummy results in that case.
…pnkfelix Disable drop range analysis The previous PR, rust-lang#93165, still performed the drop range analysis despite ignoring the results. Unfortunately, there were ICEs in the analysis as well, so some packages failed to build (see the issue rust-lang#93197 for an example). This change further disables the analysis and just provides dummy results in that case.
Generator drop tracking caused an ICE for generators involving the Never type (Issue #93161). Since this breaks a test case with miri, we temporarily disable drop tracking so miri is unblocked while we properly fix the issue.