Skip to content

Commit 9ca6ee0

Browse files
authored
Rollup merge of rust-lang#45548 - ratmice:master, r=oli-obk
issue rust-lang#45357 don't build clippy stage 1 rust-lang#45357 Wasn't sure top_stage was the right thing, but seemed to go ahead building clippy stage 2.
2 parents 95a4016 + aa9d0aa commit 9ca6ee0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/tool.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ impl Step for Clippy {
415415
const ONLY_HOSTS: bool = true;
416416

417417
fn should_run(run: ShouldRun) -> ShouldRun {
418-
run.path("src/tools/clippy")
418+
let builder = run.builder;
419+
run.path("src/tools/clippy").default_condition(builder.build.config.extended)
419420
}
420421

421422
fn make_run(run: RunConfig) {

0 commit comments

Comments
 (0)