about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-11-12 09:49:45 -0500
committerPietro Albini <pietro@pietroalbini.org>2020-11-17 12:38:35 +0100
commita01256f4ae18526e11f5d50a584dfac8a445418a (patch)
treea64f5cc39bcfce1268d7bc9f011e64ecd58222fe /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parente881b4e26c7d5b343f91854f8025395109671bb7 (diff)
downloadrust-a01256f4ae18526e11f5d50a584dfac8a445418a.tar.gz
rust-a01256f4ae18526e11f5d50a584dfac8a445418a.zip
Avoid installing external LLVM dylibs
If the LLVM was externally provided, then we don't currently copy artifacts into
the sysroot. This is not necessarily the right choice (in particular, it will
require the LLVM dylib to be in the linker's load path at runtime), but the
common use case for external LLVMs is distribution provided LLVMs, and in that
case they're usually in the standard search path (e.g., /usr/lib) and copying
them here is going to cause problems as we may end up with the wrong files and
isn't what distributions want.

This behavior may be revisited in the future though.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions