Skip to content

Commit 9245182

Browse files
committed
Add comment explaining original maybe_install_llvm_dylib call
1 parent a7de090 commit 9245182

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/compile.rs

+3
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,9 @@ impl Step for Assemble {
775775
t!(fs::create_dir_all(&dst));
776776
builder.copy(&lld_install.join("bin").join(&src_exe), &dst.join(&dst_exe));
777777
}
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.
778781
dist::maybe_install_llvm_dylib(builder, target_compiler.host, &sysroot);
779782

780783
// Link the compiler binary itself into place

0 commit comments

Comments
 (0)