File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 398
398
# Indicates whether LLD will be used to link Rust crates during bootstrap on
399
399
# supported platforms. The LLD from the bootstrap distribution will be used
400
400
# and not the LLD compiled during the bootstrap.
401
+ #
402
+ # LLD will not be used if we're cross linking or running tests.
401
403
#use-lld = false
402
404
403
405
# 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 {
1035
1035
flags. push ( "-Zunstable-options" . to_string ( ) ) ;
1036
1036
flags. push ( builder. config . cmd . rustc_args ( ) . join ( " " ) ) ;
1037
1037
1038
+ // Don't use LLD here since we want to test that rustc finds and uses a linker by itself.
1038
1039
if let Some ( linker) = builder. linker ( target, false ) {
1039
1040
cmd. arg ( "--linker" ) . arg ( linker) ;
1040
1041
}
You can’t perform that action at this time.
0 commit comments