-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Bootstrap re-builds everything after "x.py check" #130108
Comments
I wonder if #128871 has anything to do with this. |
Yeah that sounds likely. Configuring the linker sets some env vars and when those differ between check and test builds, everything gets rebuilt.
|
Should we revert that PR then? Or is there some other short-term fix? This is a significant hurdle for rustc development right now. |
I suppose that we could for now just skip the |
Nevermind, I reproduced it. And the fix with removing check from configuring the linker works. I'll send a PR. |
I think excluding |
Do not skip linker configuration for `check` builds This essentially reverts a part of rust-lang/rust#128871, to fix rust-lang/rust#130108. This is mostly a hotfix until we can figure out a better way to both avoid rebuilds and avoid configuring the linker for `x check`. Skipping linker for check builds was causing unexpected rebuilds. Fixes: rust-lang/rust#130108
Some time over the last days, this started happening:
The third invocation should finish immediately, but instead it rebuilds everything. So what is usually a 1s edit-test cycle now takes a full minute.
Cc @rust-lang/bootstrap
The text was updated successfully, but these errors were encountered: