Skip to content

Commit

Permalink
issue rust-lang#45357 set clippy build condition to extended.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratmice committed Nov 3, 2017
1 parent 0cd03bf commit aa9d0aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/bootstrap/tool.rs
Expand Up @@ -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) {
Expand Down

0 comments on commit aa9d0aa

Please sign in to comment.