Skip to content

Commit 26f588b

Browse files
committed
fix cargo tests
Signed-off-by: onur-ozkan <[email protected]>
1 parent 60ade6c commit 26f588b

File tree

1 file changed

+3
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+3
-1
lines changed

src/bootstrap/src/core/build_steps/test.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,9 @@ impl Step for Cargo {
300300
fn run(self, builder: &Builder<'_>) {
301301
let compiler = builder.compiler(self.stage, self.host);
302302

303-
builder.ensure(tool::Cargo { compiler, target: self.host });
303+
let cargo = builder.ensure(tool::Cargo { compiler, target: self.host });
304+
let compiler = cargo.build_compiler;
305+
304306
let cargo = tool::prepare_tool_cargo(
305307
builder,
306308
compiler,

0 commit comments

Comments
 (0)