diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-06-30 20:49:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-30 20:49:41 +0200 |
| commit | 1be0c62069375f346c50788f3a7bc7a14337cdfe (patch) | |
| tree | 58cd7f9a96df240f0ccad5b8bb330e400d47d1bf /compiler/rustc_interface/src/errors.rs | |
| parent | 8292936d744dc798d47e433fc0478f1e86e3e252 (diff) | |
| parent | 5cf2a50da7806141d1ad54b7f647c043ea38a438 (diff) | |
| download | rust-1be0c62069375f346c50788f3a7bc7a14337cdfe.tar.gz rust-1be0c62069375f346c50788f3a7bc7a14337cdfe.zip | |
Rollup merge of #143175 - Kobzol:bootstrap-lld-external-llvm-config, r=Jieyouxu
Make combining LLD with external LLVM config a hard error Younger me made this only a warning in https://github.com/rust-lang/rust/pull/139853, because our post-dist tests were relying on this. But that was not a good idea, because there are a bunch of places in bootstrap that outright try to build LLD/copy LLD to sysroot when `lld_enabled` is true (rightfully so), which is causing issues (https://github.com/rust-lang/rust/issues/143076). Instead of piling more hacks, I'd like to just disallow this, and if we need to use a hack, do it only for our CI. If this breaks the CI post-dist tests, I'll either add some special environment variable for it, or, as an alternative, make the error back into a warning, but also disable `lld_enabled` when this situation happens. try-job: dist-x86_64-linux Fixes: https://github.com/rust-lang/rust/pull/143175
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
