Skip to content

Commit 14d8bfd

Browse files
authored
Rollup merge of #95445 - jyn514:rustc-unit-tests, r=Dylan-DPC
Don't build the full compiler before running unit tests This has been present since `builder.ensure` was first added in #43059. It's unclear to me why it was added then - I tested these changes locally with `x test compiler/rustc_data_structures --stage 0` and they worked fine. Fixes #51748.
2 parents e730969 + ae12597 commit 14d8bfd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/bootstrap/test.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,6 @@ impl Step for Crate {
19981998
compile::std_cargo(builder, target, compiler.stage, &mut cargo);
19991999
}
20002000
Mode::Rustc => {
2001-
builder.ensure(compile::Rustc { compiler, target });
20022001
compile::rustc_cargo(builder, &mut cargo, target);
20032002
}
20042003
_ => panic!("can only test libraries"),

0 commit comments

Comments
 (0)