-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Move with_globals setup from run_compiler to run #53624
Conversation
Does this solve all the issues in #53420? |
@alexreg No, it just makes it print the ICE as it normally should be printed instead of |
This will break RLS and Rustfmt too, I think. |
Although this passes the tests, but I am afraid that if the I originally goes through this and in turn created |
does the monitor ever need to emit diagnostics? |
The monitor does emit diagnostics, but it only uses dummy spans, which does not seem to access libsyntax globals. I've tested that the ICE printing still works locally. |
@nrc RLS uses |
@Zoxc Didn't the patch I sent to you work? And avoid breaking other things? |
I updated clippy. It should work with this PRs changes now. Can you update the clippy submodule to the current master? Then this PR doesn't break clippy at all |
@oli-obk Good stuff. How are you getting on with the underlying MIR issue? |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
I am a bit concerned about this change as it modifies the public API for This will also provide a less breaking changes to easily fix the current check fails. |
Looks like CI is failing because of the submodule update? Or is it just transient? |
@bors r+ @earthengine If we ever want to stabilize this API we'd need to do so many other changes, this seems like the least of the worries I have with that. We could rather check if we can merge |
📌 Commit 0972658 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
set
first'
#53469
An alternative to #53526
Note this breaks some miri stuff and clippy since they call
run_compiler
directly, and they now need to also callwith_globals
cc @rust-lang/dev-toolsr? @oli-obk