File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
compiler/rustc_codegen_ssa/src/back Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,6 @@ impl Command {
100100 Program :: Lld ( ref p, flavor) => {
101101 let mut c = process:: Command :: new ( p) ;
102102 c. arg ( "-flavor" ) . arg ( flavor. as_str ( ) ) ;
103- if let LldFlavor :: Wasm = flavor {
104- // LLVM expects host-specific formatting for @file
105- // arguments, but we always generate posix formatted files
106- // at this time. Indicate as such.
107- c. arg ( "--rsp-quoting=posix" ) ;
108- }
109103 c
110104 }
111105 } ;
Original file line number Diff line number Diff line change @@ -1609,7 +1609,7 @@ fn exec_linker(
16091609 args. push_str (
16101610 & Escape {
16111611 arg : arg. to_str ( ) . unwrap ( ) ,
1612- // LLD also uses MSVC-like parsing for @-files on windows
1612+ // LLD also uses MSVC-like parsing for @-files by default when running on windows hosts
16131613 is_like_msvc : sess. target . is_like_msvc || ( cfg ! ( windows) && flavor. uses_lld ( ) ) ,
16141614 }
16151615 . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments