-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Split codegen backend check step into two and don't run it with x check compiler
#145340
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
Split codegen backend check step into two and don't run it with x check compiler
#145340
Conversation
|
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.
Thanks, yeah it always felt a bit strange when ./x check compiler
checks cg backends 👍
impl Step for GccCodegenBackend { | ||
type Output = (); | ||
|
||
const ONLY_HOSTS: bool = true; |
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.
Remark: will conflict with #145324
☔ The latest upstream changes (presumably #145131) made this pull request unmergeable. Please resolve the merge conflicts. |
819462e
to
2a2903c
Compare
Rebased. @bors r=jieyouxu |
Rollup of 11 pull requests Successful merges: - #144210 (std: thread: Return error if setting thread stack size fails) - #145310 (Reduce usage of `compiler_for` in bootstrap) - #145311 (ci: clean windows disk space in background) - #145340 (Split codegen backend check step into two and don't run it with `x check compiler`) - #145408 (Deduplicate -L search paths) - #145412 (Windows: Replace `GetThreadId`+`GetCurrentThread` with `GetCurrentThreadId`) - #145413 (bootstrap: Reduce dependencies) - #145426 (Fix typos in bootstrap.example.toml) - #145430 (Fix wrong spans with external macros in the `dropping_copy_types` lint) - #145431 (Enhance UI test output handling for runtime errors) - #145448 (Autolabel `src/tools/{rustfmt,rust-analyzer}` changes with `T-{rustfmt,rust-analyzer}`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #145340 - Kobzol:bootstrap-codegen-backend-check-split, r=jieyouxu Split codegen backend check step into two and don't run it with `x check compiler` This reduces the amount of work that is done during `x check compiler`. We still check both backends during `x check` by defaut, even if they are not in `rust.codegen-backends`, as just checking them shouldn't require expensive preparations, like building GCC. r? `@jieyouxu`
Hmm, I seem to have removed all Clippy snapshot tests during the latest rebase or something, lol. I'll readd them in the next PR. |
This reduces the amount of work that is done during
x check compiler
. We still check both backends duringx check
by defaut, even if they are not inrust.codegen-backends
, as just checking them shouldn't require expensive preparations, like building GCC.r? @jieyouxu