-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Don't use a generator for BoxedResolver #85885
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @varkor (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #85984) made this pull request unmergeable. Please resolve the merge conflicts. |
The generator is non-trivial and requires unsafe code anyway. Using regular unsafe code without a generator is much easier to follow.
… wrapper" This reverts commit 5343ec338f72a61e2f51f9d90117092c8e8a725a.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, and a nice simplification.
r? @cjgillot |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 4301d1e with merge ec4ab094f160363a91a8d43faf18b30b2b17ab44... |
☀️ Try build successful - checks-actions |
Queued ec4ab094f160363a91a8d43faf18b30b2b17ab44 with parent 1f949e9, future comparison URL. |
Finished benchmarking try commit (ec4ab094f160363a91a8d43faf18b30b2b17ab44): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
@bors r+ |
📌 Commit 4301d1e has been approved by |
☀️ Test successful - checks-actions |
The generator is non-trivial and requires unsafe code anyway. Using regular unsafe code without a generator is much easier to follow.
Based on #85810 as it touches rustc_interface too.