Skip to content

Commit

Permalink
Auto merge of #121967 - nikic:libllvm-linker-script, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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 rust-lang/rust#121889.

r? `@cuviper`
  • Loading branch information
bors committed Mar 6, 2024
2 parents e68cc6d + 3294745 commit 0953611
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0953611

Please sign in to comment.