diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-08-22 22:01:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-22 22:01:02 -0400 |
| commit | 676d383c7a643606577b56fdbe9cdc4540d0f1ba (patch) | |
| tree | e3f450fdb34d9b9f5562f7e42833b3aa3367ee8b /compiler/rustc_parse/src/lib.rs | |
| parent | 87f49e4434e1e6190b0343d55ec3bb542fde1246 (diff) | |
| parent | 6315b4973a8e5090ce041ca9a4eaf81ed7b70e29 (diff) | |
| download | rust-676d383c7a643606577b56fdbe9cdc4540d0f1ba.tar.gz rust-676d383c7a643606577b56fdbe9cdc4540d0f1ba.zip | |
Rollup merge of #145763 - Kobzol:llvm-bindir-cross, r=Mark-Simulacrum
Ship LLVM tools for the correct target when cross-compiling The LLVM config returned from the `Llvm` step in bootstrap was always the *host* LLVM config (as we cannot execute the cross-compiled LLVM config). But this wasn't obvious in bootstrap before (there was just a comment about it, but that's it), which caused a bug where bootstrap was copying LLVM tools from the host target to the cross-compiled rustc sysroot. This was probably happening for quite a long time, we just haven't noticed before. Note that I consider this to be mostly a hotfix, I plan to refactor the LLVM handling in bootstrap soon-ish to make it harder to misuse and be better in general. Fixes: https://github.com/rust-lang/rust/issues/145699
Diffstat (limited to 'compiler/rustc_parse/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
