diff options
| author | matt rice <ratmice@gmail.com> | 2017-10-29 09:10:07 -0700 |
|---|---|---|
| committer | matt rice <ratmice@gmail.com> | 2017-11-03 10:52:36 -0700 |
| commit | aa9d0aae99d84df9439f700c56ec3a84fdb1b10c (patch) | |
| tree | bdadb8a6a7e6c525e138df8bcc4bd87c7ac9bb8e /src/bootstrap | |
| parent | 0cd03bf5f33751497444b03e51d1b4598dc46a7d (diff) | |
| download | rust-aa9d0aae99d84df9439f700c56ec3a84fdb1b10c.tar.gz rust-aa9d0aae99d84df9439f700c56ec3a84fdb1b10c.zip | |
issue #45357 set clippy build condition to extended.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/tool.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index a8dfba55427..7175fed5410 100644 --- a/src/bootstrap/tool.rs +++ b/src/bootstrap/tool.rs @@ -415,10 +415,8 @@ impl Step for Clippy { const ONLY_HOSTS: bool = true; fn should_run(run: ShouldRun) -> ShouldRun { - match run.builder.top_stage { - 1 => run.never(), - _ => run.path("src/tools/clippy"), - } + let builder = run.builder; + run.path("src/tools/clippy").default_condition(builder.build.config.extended) } fn make_run(run: RunConfig) { |
