Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Feb 9, 2020
1 parent 2124a85 commit e763ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.toml.example
Expand Up @@ -398,6 +398,8 @@
# Indicates whether LLD will be used to link Rust crates during bootstrap on
# supported platforms. The LLD from the bootstrap distribution will be used
# and not the LLD compiled during the bootstrap.
#
# LLD will not be used if we're cross linking or running tests.
#use-lld = false

# Indicates whether some LLVM tools, like llvm-objdump, will be made available in the
Expand Down
1 change: 1 addition & 0 deletions src/bootstrap/test.rs
Expand Up @@ -1035,6 +1035,7 @@ impl Step for Compiletest {
flags.push("-Zunstable-options".to_string());
flags.push(builder.config.cmd.rustc_args().join(" "));

// Don't use LLD here since we want to test that rustc finds and uses a linker by itself.
if let Some(linker) = builder.linker(target, false) {
cmd.arg("--linker").arg(linker);
}
Expand Down

0 comments on commit e763ddc

Please sign in to comment.