Skip to content

Commit f23e205

Browse files
committed
do not use render_tests for clippy
Behind the scenes Clippy uses compiletest-rs, which doesn't support the --json flag we added to Rust's compiletest.
1 parent ad9a444 commit f23e205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ impl Step for Clippy {
767767

768768
cargo.add_rustc_lib_path(builder, compiler);
769769

770-
if add_flags_and_try_run_tests(builder, &mut cargo.into()) {
770+
if builder.try_run(&mut cargo.into()) {
771771
// The tests succeeded; nothing to do.
772772
return;
773773
}

0 commit comments

Comments
 (0)