File tree 2 files changed +1
-7
lines changed
compiler/rustc_codegen_ssa/src/back
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,6 @@ impl Command {
100
100
Program :: Lld ( ref p, flavor) => {
101
101
let mut c = process:: Command :: new ( p) ;
102
102
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
- }
109
103
c
110
104
}
111
105
} ;
Original file line number Diff line number Diff line change @@ -1609,7 +1609,7 @@ fn exec_linker(
1609
1609
args. push_str (
1610
1610
& Escape {
1611
1611
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
1613
1613
is_like_msvc : sess. target . is_like_msvc || ( cfg ! ( windows) && flavor. uses_lld ( ) ) ,
1614
1614
}
1615
1615
. to_string ( ) ,
You can’t perform that action at this time.
0 commit comments