From aa9d0aae99d84df9439f700c56ec3a84fdb1b10c Mon Sep 17 00:00:00 2001 From: matt rice Date: Sun, 29 Oct 2017 09:10:07 -0700 Subject: [PATCH] issue #45357 set clippy build condition to extended. --- src/bootstrap/tool.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs index a8dfba554279..7175fed5410b 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) {