We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60ade6c commit 26f588bCopy full SHA for 26f588b
src/bootstrap/src/core/build_steps/test.rs
@@ -300,7 +300,9 @@ impl Step for Cargo {
300
fn run(self, builder: &Builder<'_>) {
301
let compiler = builder.compiler(self.stage, self.host);
302
303
- builder.ensure(tool::Cargo { compiler, target: self.host });
+ let cargo = builder.ensure(tool::Cargo { compiler, target: self.host });
304
+ let compiler = cargo.build_compiler;
305
+
306
let cargo = tool::prepare_tool_cargo(
307
builder,
308
compiler,
0 commit comments