File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 398398# Indicates whether LLD will be used to link Rust crates during bootstrap on
399399# supported platforms. The LLD from the bootstrap distribution will be used
400400# and not the LLD compiled during the bootstrap.
401+ #
402+ # LLD will not be used if we're cross linking or running tests.
401403# use-lld = false
402404
403405# Indicates whether some LLVM tools, like llvm-objdump, will be made available in the
Original file line number Diff line number Diff line change @@ -1035,6 +1035,7 @@ impl Step for Compiletest {
10351035 flags. push ( "-Zunstable-options" . to_string ( ) ) ;
10361036 flags. push ( builder. config . cmd . rustc_args ( ) . join ( " " ) ) ;
10371037
1038+ // Don't use LLD here since we want to test that rustc finds and uses a linker by itself.
10381039 if let Some ( linker) = builder. linker ( target, false ) {
10391040 cmd. arg ( "--linker" ) . arg ( linker) ;
10401041 }
You can’t perform that action at this time.
0 commit comments