Skip to content

Commit 0cd03bf

Browse files
committed
issue #45357 don't build clippy stage 1
1 parent e0febe7 commit 0cd03bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bootstrap/tool.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,10 @@ 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+
match run.builder.top_stage {
419+
1 => run.never(),
420+
_ => run.path("src/tools/clippy"),
421+
}
419422
}
420423

421424
fn make_run(run: RunConfig) {

0 commit comments

Comments
 (0)