-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Ignore rustc-ice-
files
#12605
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
Ignore rustc-ice-
files
#12605
Conversation
I think the proper fix for this would be to pass This will magically fix all of rustcs and clippys crashes so that encountering an ice is no longer possible. (hah april fools!) edit: may also want to add |
What does the flag do?
But why would be refuse free ICE? This is our best approach to fighting global warming rn 🧊 |
This does not affect clippy per-se but sometimes when rustc wants to show a very very long type in a diagnostic, lets say 300 nested
|
I agree setting I wonder if it'd also make sense to set it in |
Thank you for the explanation, the variable name is not very on its own. Setting it in both cases makes sense to me. 👍 |
I tested it locally and everything seems to work just fine. IDK how to test it in the CI, but believe this should be good enough :D |
Let's see, @bors try Do you think it's worth nominating for tomorrow's clippy meeting? (I can't remember if it's tomorrow or the other week) |
Ignore `rustc-ice-` files When ui-test detects a crash, it writes it into a `rustc-ice-*` file. I find it a bit annoying that git always want's to add them. So this just adds these files to our `.gitignore` :D --- changelog: none
☀️ Try build successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
My calendar says tomorrow. I don't think it's worth it, but if you're unsure about this change, we can nominate it :) |
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.
Ok, yeah, seems like an uncontroversial change. I was wondering if anyone working on clippy would need these files, but I can't think of a reason. LGTM
I don't think so, rustc still dumps the stack trace into the console, which can be used for debugging. If someone notices this change, we could just add a new flag to Then let's get this merged |
Do we have some kind of test that makes sure that ICEs are still reported even with this change? Just so that we'd notice if the meaning of |
Ah ok good 👍 |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
When ui-test detects a crash, it writes it into a
rustc-ice-*
file. I find it a bit annoying that git always want's to add them. So this just adds these files to our.gitignore
:Dchangelog: none