1
Fork 0

issue #45357 set clippy build condition to extended.

This commit is contained in:
matt rice 2017-10-29 09:10:07 -07:00
parent 0cd03bf5f3
commit aa9d0aae99

View file

@ -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) {