diff options
| author | matt rice <ratmice@gmail.com> | 2017-10-26 05:16:20 -0700 |
|---|---|---|
| committer | matt rice <ratmice@gmail.com> | 2017-10-26 05:26:05 -0700 |
| commit | 0cd03bf5f33751497444b03e51d1b4598dc46a7d (patch) | |
| tree | 1c104deb3d16a6383c9638174ce5a53a77d7d123 | |
| parent | e0febe71449008fd35ccc762b0a42d106aa8e4f7 (diff) | |
| download | rust-0cd03bf5f33751497444b03e51d1b4598dc46a7d.tar.gz rust-0cd03bf5f33751497444b03e51d1b4598dc46a7d.zip | |
issue #45357 don't build clippy stage 1
| -rw-r--r-- | src/bootstrap/tool.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index 688ee6ba295..a8dfba55427 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) { |
