mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-29 17:05:41 +00:00
Fix boostrap using host exe suffix for cargo
This commit is contained in:
parent
f98bd7eeca
commit
903e369c83
@ -217,9 +217,8 @@ impl Step for ToolBuild {
|
||||
if tool == "tidy" {
|
||||
tool = "rust-tidy";
|
||||
}
|
||||
let cargo_out =
|
||||
builder.cargo_out(compiler, self.mode, target).join(exe(tool, compiler.host));
|
||||
let bin = builder.tools_dir(compiler).join(exe(tool, compiler.host));
|
||||
let cargo_out = builder.cargo_out(compiler, self.mode, target).join(exe(tool, target));
|
||||
let bin = builder.tools_dir(compiler).join(exe(tool, target));
|
||||
builder.copy(&cargo_out, &bin);
|
||||
Some(bin)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user