Fix one usage of target triple in bootstrap by Kobzol · Pull Request #129056 · rust-lang/rust (original) (raw)

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Aug 14, 2024

@rust-timer

Rollup merge of rust-lang#129056 - Kobzol:fix-target-triple, r=onur-ozkan

Fix one usage of target triple in bootstrap

This bug was introduced in rust-lang#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](rust-lang#128983 (comment)).

r? @onur-ozkan