We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
maybe_install_llvm_dylib
1 parent a7de090 commit 9245182Copy full SHA for 9245182
src/bootstrap/compile.rs
@@ -775,6 +775,9 @@ impl Step for Assemble {
775
t!(fs::create_dir_all(&dst));
776
builder.copy(&lld_install.join("bin").join(&src_exe), &dst.join(&dst_exe));
777
}
778
+
779
+ // Ensure that `libLLVM.so` ends up in the newly build compiler directory,
780
+ // so that it can be found when the newly built `rustc` is run.
781
dist::maybe_install_llvm_dylib(builder, target_compiler.host, &sysroot);
782
783
// Link the compiler binary itself into place
0 commit comments