-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rustc shim is now a wrapper #110854
Rustc shim is now a wrapper #110854
Conversation
This is preparatory work to make clippy work in the repo. This changes the rustc shim in bootstrap to be RUSTC_WRAPPER, instead of RUSTC.
r? @ozkanonur (rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@albertlarsan68 locally you have |
I think this would also break setups using |
The job Click to see the possible cause of the failure (guessed by this bot)
|
"break" is a little strong, they just won't be cached, right? How often is it possible to cache these in practice anyway, won't you have to rebuild every time you rebase (or even more frequently for stage 1 builds)? |
That said, we could probably do this for check/clippy only if it causes issues. |
sccache sometimes saves me quite a bit of compile time when when switching back and forth between commits or blasting away parts of the build dir. |
I could "cache" the RUSTC_WRAPPER, to call him with the right command and flags. |
☔ The latest upstream changes (presumably #111231) made this pull request unmergeable. Please resolve the merge conflicts. |
This is preparatory work to make clippy work in the repo (#107628).
This changes the rustc shim in bootstrap to be RUSTC_WRAPPER, instead of RUSTC.