Skip to content

Commit

Permalink
Rollup merge of rust-lang#45548 - ratmice:master, r=oli-obk
Browse files Browse the repository at this point in the history
issue rust-lang#45357 don't build clippy stage 1

rust-lang#45357
Wasn't sure top_stage was the right thing, but seemed to go ahead building clippy stage 2.
  • Loading branch information
kennytm authored Nov 4, 2017
2 parents 95a4016 + aa9d0aa commit 9ca6ee0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9ca6ee0

Please sign in to comment.