Skip to content

Commit 327ae38

Browse files
committed
use plain cargo to install xargo
1 parent f809f9e commit 327ae38

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/bootstrap/test.rs

+1-11
Original file line numberDiff line numberDiff line change
@@ -386,17 +386,7 @@ impl Step for Miri {
386386
extra_features: Vec::new(),
387387
});
388388
if let Some(miri) = miri {
389-
// # Install xargo.
390-
let mut cargo = tool::prepare_tool_cargo(
391-
builder,
392-
compiler,
393-
Mode::ToolRustc,
394-
host,
395-
"install",
396-
"src/tools/miri",
397-
SourceType::Submodule,
398-
&[],
399-
);
389+
let mut cargo = builder.cargo(compiler, Mode::ToolRustc, host, "install");
400390
cargo.arg("xargo");
401391
// Configure `cargo install` path. cargo adds a `bin/`.
402392
cargo.env("CARGO_INSTALL_ROOT", &builder.out);

0 commit comments

Comments
 (0)