Skip to content

Commit

Permalink
Add comment explaining original maybe_install_llvm_dylib call
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Dec 11, 2019
1 parent a7de090 commit 9245182
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,9 @@ impl Step for Assemble {
t!(fs::create_dir_all(&dst));
builder.copy(&lld_install.join("bin").join(&src_exe), &dst.join(&dst_exe));
}

// Ensure that `libLLVM.so` ends up in the newly build compiler directory,
// so that it can be found when the newly built `rustc` is run.
dist::maybe_install_llvm_dylib(builder, target_compiler.host, &sysroot);

// Link the compiler binary itself into place
Expand Down

0 comments on commit 9245182

Please sign in to comment.