提交 327ae38a 编写于 作者: R Ralf Jung

use plain cargo to install xargo

上级 f809f9e0
......@@ -386,17 +386,7 @@ fn run(self, builder: &Builder<'_>) {
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册