about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authortopjohnwu <topjohnwu@google.com>2022-07-03 23:53:36 -0700
committertopjohnwu <topjohnwu@google.com>2022-07-04 01:38:05 -0700
commit22b4ea4813a7aa5fc2ee454fca50853fdc47ba3e (patch)
tree8d255b2b56bc68be9dd29c52416b219048f07d00 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parenta5c6a48aee84215a9200dfa1c4c6ad88f5721f56 (diff)
downloadrust-22b4ea4813a7aa5fc2ee454fca50853fdc47ba3e.tar.gz
rust-22b4ea4813a7aa5fc2ee454fca50853fdc47ba3e.zip
Proper macOS libLLVM symlink when cross compiling
When cross compiling on macOS with `llvm.link-shared` enabled,
the symlink creation will fail after compiling LLVM for the target
architecture, because it will attempt to create the symlink in the
host LLVM directory, which was already created when being built.

This commit changes the symlink path to the actual LLVM output.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions