mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Test build_helper
with the stage 0 compiler
There is no need to build a stage N toolchain for testing it.
This commit is contained in:
parent
823ea0e987
commit
72c354094d
@ -1372,13 +1372,12 @@ impl Step for CrateBuildHelper {
|
||||
/// Runs `cargo test` for build_helper.
|
||||
fn run(self, builder: &Builder<'_>) {
|
||||
let host = self.host;
|
||||
let compiler = builder.compiler(builder.top_stage, host);
|
||||
let compiler = builder.compiler(0, host);
|
||||
|
||||
builder.ensure(compile::Std::new(compiler, host));
|
||||
let mut cargo = tool::prepare_tool_cargo(
|
||||
builder,
|
||||
compiler,
|
||||
Mode::ToolStd,
|
||||
Mode::ToolBootstrap,
|
||||
host,
|
||||
"test",
|
||||
"src/tools/build_helper",
|
||||
|
Loading…
Reference in New Issue
Block a user