about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-06 07:16:19 +0000
committerbors <bors@rust-lang.org>2021-04-06 07:16:19 +0000
commit354cc751b74e813f180755fa67bebcb669825755 (patch)
tree9656d507d8be6e008ddc95fe02a8e8236a0fc853 /compiler/rustc_codegen_llvm/src/lib.rs
parenta6e7a5aa5dc842ddb64607040aefb6ec33e22b59 (diff)
parent7f19a2d2de32ea61a8c9b8bca44a13894954b3be (diff)
downloadrust-354cc751b74e813f180755fa67bebcb669825755.tar.gz
rust-354cc751b74e813f180755fa67bebcb669825755.zip
Auto merge of #81641 - bjorn3:find_codegen_backend, r=davidtwco
Find codegen backends in more locations

* Search in the sysroot passed using `--sysroot` in addition to the default sysroot.
* Search for `librustc_codegen_$name.so` in addition to `librustc_codegen_$name-$release.so`.

This combined would allow putting `librustc_codegen_cranelift.so` in the right location of a sysroot passed using `--sysroot`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions