Try_run must only be used if toolstate is populated

Clippy's tests were failing the build, but that failure was ignored in favor of
checking toolstate. This is the correct behavior for toolstate-checked tools,
but Clippy no longer updates its toolstate status as it should always build.
This commit is contained in:
Mark Rousskov 2020-06-07 10:05:27 -04:00
parent a2fc33e0c8
commit 6f015768c2
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ impl Step for Clippy {
builder.add_rustc_lib_path(compiler, &mut cargo);
try_run(builder, &mut cargo.into());
builder.run(&mut cargo.into());
}
}