Rollup merge of #129056 - Kobzol:fix-target-triple, r=onur-ozkan
Fix one usage of target triple in bootstrap This bug was introduced in https://github.com/rust-lang/rust/pull/128983. In this one case, the `TargetSelection` was also used as `Display` (not just as `Path`), which I did not notice in the original PR. If the target contained a custom file, it would be included in its `Display` formatting, even though only the triple should be used. Found [here](https://github.com/rust-lang/rust/pull/128983#issuecomment-2286601889). r? `@onur-ozkan`
This commit is contained in:
commit
c013e2c3df
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ impl Config {
|
|||
extra_components: &[&str],
|
||||
download_component: fn(&Config, String, &str, &str),
|
||||
) {
|
||||
let host = self.build;
|
||||
let host = self.build.triple;
|
||||
let bin_root = self.out.join(host).join(sysroot);
|
||||
let rustc_stamp = bin_root.join(".rustc-stamp");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue