about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-01 23:16:12 +0000
committerbors <bors@rust-lang.org>2021-05-01 23:16:12 +0000
commit7e717e99be6d3418d44ec510e142484db12fd757 (patch)
treee28cf39b8361ded5773d3618e06cbd042502aaaf /compiler/rustc_codegen_llvm/src
parent4de75720970a223b125a811d3662fd15a08d4d18 (diff)
parent7d4c3889d4e11bdc2e204be2fd4f7c136f8c0f1a (diff)
downloadrust-7e717e99be6d3418d44ec510e142484db12fd757.tar.gz
rust-7e717e99be6d3418d44ec510e142484db12fd757.zip
Auto merge of #84471 - jyn514:linkcheck-llvm, r=Mark-Simulacrum
Allow running `x.py test --stage 2 src/tools/linkchecker` with `download-rustc = true`

Previously, the LD_LIBRARY_PATH for the linkchecker looked like
`build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib`, because the linkchecker depends on the master copy of the standard library. This is true, but doesn't include the library path for the compiler libraries:

```
/home/joshua/src/rust/rust/build/x86_64-unknown-linux-gnu/stage1-tools-bin/error_index_generator: error while loading shared libraries: libLLVM-12-rust-1.53.0-nightly.so: cannot open shared object file: No such file or directory
```

That file is in
`build/x86_64-unknown-linux-gnu/stage1/lib/libLLVM-12-rust-1.53.0-nightly.so`,
which wasn't included in the dynamic path. This adds `build/x86_64-unknown-linux-gnu/stage1/lib` to the dynamic path for the linkchecker.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions