Skip to content

Commit

Permalink
issue #45357 don't build clippy stage 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ratmice committed Oct 26, 2017
1 parent e0febe7 commit 0cd03bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/tool.rs
Expand Up @@ -415,7 +415,10 @@ impl Step for Clippy {
const ONLY_HOSTS: bool = true;

fn should_run(run: ShouldRun) -> ShouldRun {
run.path("src/tools/clippy")
match run.builder.top_stage {
1 => run.never(),
_ => run.path("src/tools/clippy"),
}
}

fn make_run(run: RunConfig) {
Expand Down

0 comments on commit 0cd03bf

Please sign in to comment.