about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-06 14:51:49 +0000
committerbors <bors@rust-lang.org>2024-03-06 14:51:49 +0000
commitbfe762e0ed2e95041cc12c02c5565c4368f2cc9f (patch)
treec156827bc4e3bb47e81e9167ac96c54d14a786cd /compiler/rustc_driver_impl/src/lib.rs
parent3314d5ce4c209e840c2e4b2c4442f6e031ae0989 (diff)
parent5d1d4081d9e5b2d8748bd3f7b7403a5dffee69b1 (diff)
downloadrust-bfe762e0ed2e95041cc12c02c5565c4368f2cc9f.tar.gz
rust-bfe762e0ed2e95041cc12c02c5565c4368f2cc9f.zip
Auto merge of #121967 - nikic:libllvm-linker-script, r=Mark-Simulacrum
Replace libLLVM symlink with linker script

It turns out that the libLLVM-N.so -> libLLVM.so.N.1 symlink is also needed when projects like miri link against librustc_driver.so. As such, we have to distribute it in real rustup components like rustc-dev, rather than only for download-ci-llvm.

To avoid actually distributing symlinks (which are not supported or not fully supported by the rustup infrastructure) replace it with a linker script that does the same thing instead.

Fixes https://github.com/rust-lang/rust/issues/121889.

r? `@cuviper`
Diffstat (limited to 'compiler/rustc_driver_impl/src/lib.rs')
0 files changed, 0 insertions, 0 deletions