Skip to content

Commit

Permalink
Try_run must only be used if toolstate is populated
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mark-Simulacrum committed Jun 7, 2020
1 parent a2fc33e commit 6f01576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/test.rs
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 6f01576

Please sign in to comment.