fix cargo tests

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2025-02-18 16:28:05 +00:00
parent 60ade6c1d7
commit 26f588bba4

View file

@ -300,7 +300,9 @@ impl Step for Cargo {
fn run(self, builder: &Builder<'_>) {
let compiler = builder.compiler(self.stage, self.host);
builder.ensure(tool::Cargo { compiler, target: self.host });
let cargo = builder.ensure(tool::Cargo { compiler, target: self.host });
let compiler = cargo.build_compiler;
let cargo = tool::prepare_tool_cargo(
builder,
compiler,