issue #45357 don't build clippy stage 1

This commit is contained in:
matt rice 2017-10-26 05:16:20 -07:00
parent e0febe7144
commit 0cd03bf5f3

View File

@ -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) {