mirror of https://github.com/rust-lang/rust.git
Update comment and remove special-case for Wasm targets which is incompatible with response-file changes
This commit is contained in:
parent
7c98b82930
commit
6b0a706cb4
|
@ -100,12 +100,6 @@ impl Command {
|
|||
Program::Lld(ref p, flavor) => {
|
||||
let mut c = process::Command::new(p);
|
||||
c.arg("-flavor").arg(flavor.as_str());
|
||||
if let LldFlavor::Wasm = flavor {
|
||||
// LLVM expects host-specific formatting for @file
|
||||
// arguments, but we always generate posix formatted files
|
||||
// at this time. Indicate as such.
|
||||
c.arg("--rsp-quoting=posix");
|
||||
}
|
||||
c
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1609,7 +1609,7 @@ fn exec_linker(
|
|||
args.push_str(
|
||||
&Escape {
|
||||
arg: arg.to_str().unwrap(),
|
||||
// LLD also uses MSVC-like parsing for @-files on windows
|
||||
// LLD also uses MSVC-like parsing for @-files by default when running on windows hosts
|
||||
is_like_msvc: sess.target.is_like_msvc || (cfg!(windows) && flavor.uses_lld()),
|
||||
}
|
||||
.to_string(),
|
||||
|
|
Loading…
Reference in New Issue