Skip to content

Commit aa9d0aa

Browse files
committed
issue #45357 set clippy build condition to extended.
1 parent 0cd03bf commit aa9d0aa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/bootstrap/tool.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,8 @@ impl Step for Clippy {
415415
const ONLY_HOSTS: bool = true;
416416

417417
fn should_run(run: ShouldRun) -> ShouldRun {
418-
match run.builder.top_stage {
419-
1 => run.never(),
420-
_ => run.path("src/tools/clippy"),
421-
}
418+
let builder = run.builder;
419+
run.path("src/tools/clippy").default_condition(builder.build.config.extended)
422420
}
423421

424422
fn make_run(run: RunConfig) {

0 commit comments

Comments
 (0)