Fix boostrap using host exe suffix for cargo
This commit is contained in:
parent
f98bd7eeca
commit
903e369c83
@ -217,9 +217,8 @@ fn run(self, builder: &Builder<'_>) -> Option<PathBuf> {
|
||||
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