Rollup merge of #45548 - ratmice:master, r=oli-obk

issue #45357 don't build clippy stage 1

#45357
Wasn't sure top_stage was the right thing, but seemed to go ahead building clippy stage 2.
This commit is contained in:
kennytm 2017-11-04 13:49:26 +08:00 committed by GitHub
commit 9ca6ee0299

View File

@ -415,7 +415,8 @@ impl Step for Clippy {
const ONLY_HOSTS: bool = true;
fn should_run(run: ShouldRun) -> ShouldRun {
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) {