about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-03 22:30:44 +0200
committerGitHub <noreply@github.com>2022-08-03 22:30:44 +0200
commit6a987f5e37f33341156a51c256828e71c7f16a73 (patch)
treed297a348079febda30701a6386a70748f0f10b11 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd6b96b61e75dd5ad24a77d6a26a7eef3b492856e (diff)
parent6f87b7500a3450f41c82dd5eca58460b4ef7a30c (diff)
downloadrust-6a987f5e37f33341156a51c256828e71c7f16a73.tar.gz
rust-6a987f5e37f33341156a51c256828e71c7f16a73.zip
Rollup merge of #98877 - topjohnwu:fix-lld, r=jyn514
Set llvm configs when building lld

Several LLVM configs applied when building LLVM should also be applied when building LLD.

For example, without the fix, setting both `llvm.thin-lto=true` and `rust.lld=true` when building on Linux will fail, since we need to manually override the compiler and linker to `clang`, but those will not be used when building LLD, causing link errors.

r? ```@jyn514```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions