Skip to content

Commit

Permalink
use plain cargo to install xargo
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 26, 2019
1 parent f809f9e commit 327ae38
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,17 +386,7 @@ impl Step for Miri {
extra_features: Vec::new(),
});
if let Some(miri) = miri {
// # Install xargo.
let mut cargo = tool::prepare_tool_cargo(
builder,
compiler,
Mode::ToolRustc,
host,
"install",
"src/tools/miri",
SourceType::Submodule,
&[],
);
let mut cargo = builder.cargo(compiler, Mode::ToolRustc, host, "install");
cargo.arg("xargo");
// Configure `cargo install` path. cargo adds a `bin/`.
cargo.env("CARGO_INSTALL_ROOT", &builder.out);
Expand Down

0 comments on commit 327ae38

Please sign in to comment.