We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f98bd7e commit 903e369Copy full SHA for 903e369
src/bootstrap/tool.rs
@@ -217,9 +217,8 @@ impl Step for ToolBuild {
217
if tool == "tidy" {
218
tool = "rust-tidy";
219
}
220
- let cargo_out =
221
- builder.cargo_out(compiler, self.mode, target).join(exe(tool, compiler.host));
222
- 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));
223
builder.copy(&cargo_out, &bin);
224
Some(bin)
225
0 commit comments