From 0cd03bf5f33751497444b03e51d1b4598dc46a7d Mon Sep 17 00:00:00 2001 From: matt rice Date: Thu, 26 Oct 2017 05:16:20 -0700 Subject: [PATCH] issue #45357 don't build clippy stage 1 --- src/bootstrap/tool.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index 688ee6ba295f..a8dfba554279 100644 --- a/src/bootstrap/tool.rs +++ b/src/bootstrap/tool.rs @@ -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) {