Skip to content

Commit 6f01576

Browse files
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.
1 parent a2fc33e commit 6f01576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ impl Step for Clippy {
553553

554554
builder.add_rustc_lib_path(compiler, &mut cargo);
555555

556-
try_run(builder, &mut cargo.into());
556+
builder.run(&mut cargo.into());
557557
}
558558
}
559559

0 commit comments

Comments
 (0)