Don't require a normal tool build of clippy/rustfmt when running their test steps#149623
Don't require a normal tool build of clippy/rustfmt when running their test steps#149623bors merged 1 commit intorust-lang:mainfrom
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
Rollup of 9 pull requests Successful merges: - #147224 (Emscripten: Turn wasm-eh on by default) - #149405 (Recover on misspelled item keyword) - #149443 (Tidying up UI tests [6/N]) - #149524 (Move attribute safety checking to attribute parsing) - #149593 (powf, powi: point out SNaN non-determinism) - #149605 (Use branch name instead of HEAD when unshallowing) - #149612 (Apply the `bors` environment also to the `outcome` job) - #149623 (Don't require a normal tool build of clippy/rustfmt when running their test steps) - #149627 (Point to the item that is incorrectly annotated with `#[diagnostic::on_const]`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #149623 - jieyouxu:redundant-tool-test-step, r=Zalathar Don't require a normal tool build of clippy/rustfmt when running their test steps This is redundant and wasteful. Noticed in #147372 (comment).
Rollup of 9 pull requests Successful merges: - rust-lang/rust#147224 (Emscripten: Turn wasm-eh on by default) - rust-lang/rust#149405 (Recover on misspelled item keyword) - rust-lang/rust#149443 (Tidying up UI tests [6/N]) - rust-lang/rust#149524 (Move attribute safety checking to attribute parsing) - rust-lang/rust#149593 (powf, powi: point out SNaN non-determinism) - rust-lang/rust#149605 (Use branch name instead of HEAD when unshallowing) - rust-lang/rust#149612 (Apply the `bors` environment also to the `outcome` job) - rust-lang/rust#149623 (Don't require a normal tool build of clippy/rustfmt when running their test steps) - rust-lang/rust#149627 (Point to the item that is incorrectly annotated with `#[diagnostic::on_const]`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 9 pull requests Successful merges: - rust-lang/rust#147224 (Emscripten: Turn wasm-eh on by default) - rust-lang/rust#149405 (Recover on misspelled item keyword) - rust-lang/rust#149443 (Tidying up UI tests [6/N]) - rust-lang/rust#149524 (Move attribute safety checking to attribute parsing) - rust-lang/rust#149593 (powf, powi: point out SNaN non-determinism) - rust-lang/rust#149605 (Use branch name instead of HEAD when unshallowing) - rust-lang/rust#149612 (Apply the `bors` environment also to the `outcome` job) - rust-lang/rust#149623 (Don't require a normal tool build of clippy/rustfmt when running their test steps) - rust-lang/rust#149627 (Point to the item that is incorrectly annotated with `#[diagnostic::on_const]`) r? `@ghost` `@rustbot` modify labels: rollup
This is redundant and wasteful.
Noticed in #147372 (comment).