-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
yet another (random?) bootstrap ICE #74581
Comments
Seems like incremental is enabled, right? |
Mmh, probably, but I'm a bit confused because my config says no (I think?) # Whether to always use incremental compilation when building rustc
#incremental = false |
Interesting to see that with incremental disabled. |
It's not too surprising, I don't think the rmeta format is stable. Since bootstrap reuses the artifacts from previous builds, this seems inevitable. The only option I can think of is to set The metadata could include a schema/format version (similar to what incremental does), but I think it is unlikely that everyone will be able to know to manually change that version whenever the format changes. (It looks like the incremental header version has never been changed.) There could be tests or proc-macro magic to try to automate or verify the version gets updated, but that sounds like a ton of work for a very narrow use case (optimizing bootstrap for rustc development). Also, that probably wouldn't help much with backwards-compatibility, and might be back in the same situation, although with a slightly nicer error message. |
I've had a couple of incremental ICEs while bootstrapping already, so all of these are "wontfix" essentially? I can close them if you want. :) |
I think this is the same issue as #76720. |
Switched from f9a3086 to b52522a and ran
x.py build
Error output
Backtrace
The text was updated successfully, but these errors were encountered: