-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Don't require a normal tool build of clippy/rustfmt when running their test steps #149623
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
base: main
Are you sure you want to change the base?
Conversation
tool::$TOOL steps in non-test modetool::$TOOL steps in non-test mode in test steps
This comment was marked as resolved.
This comment was marked as resolved.
|
Sure. I agree the current wording is confusing, let me reword it. |
tool::$TOOL steps in non-test mode in test steps…r test steps This is redundant and wasteful.
6413c4c to
4d21e76
Compare
|
Reworded PR title/commit message as suggested. |
|
Historical note: For rustfmt, this redundancy seems to date all the way back to the introduction of its test step, which at that time was a “check” step: So at the time it was probably motivated by wanting to “test” as much as possible in CI in one step. Nowadays we would prefer the test step to only invoke |
|
I'm not very familiar with compiler staging of these tools, so hopefully you've done your homework. 😅 Let's also consult a try job that runs tests in stage 1, to augment PR CI: @bors try jobs=x86_64-gnu-llvm-20-3 |
This comment has been minimized.
This comment has been minimized.
Don't require a normal tool build of clippy/rustfmt when running their test steps try-job: x86_64-gnu-llvm-20-3
These should still be right, because they (rustfmt/clippy both being rust/src/bootstrap/src/core/build_steps/tool.rs Lines 1324 to 1342 in 83e49b7
|
|
r=me when PR+try is green. |
|
Both PR+try are green. @bors r=Zalathar rollup |
1 similar comment
|
Both PR+try are green. @bors r=Zalathar rollup |
1 similar comment
… r=Zalathar Don't require a normal tool build of clippy/rustfmt when running their test steps This is redundant and wasteful. Noticed in rust-lang#147372 (comment).
This is redundant and wasteful.
Noticed in #147372 (comment).