Auto merge of #137796 - jieyouxu:rollup-qt9yr1g, r=jieyouxu
Rollup of 10 pull requests Successful merges: - #134943 (Add FileCheck annotations to mir-opt/issues) - #137017 (Don't error when adding a staticlib with bitcode files compiled by newer LLVM) - #137197 (Update some comparison codegen tests now that they pass in LLVM20) - #137540 (Fix (more) test directives that were accidentally ignored) - #137551 (import `simd_` intrinsics) - #137599 (tests: use minicore more) - #137673 (Fix Windows `Command` search path bug) - #137676 (linker: Fix escaping style for response files on Windows) - #137693 (Re-enable `--generate-link-to-defintion` for tools internal rustdoc) - #137770 (Fix sized constraint for unsafe binder) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
30508faeb3
300 changed files with 1614 additions and 2162 deletions
|
@ -1726,8 +1726,12 @@ fn exec_linker(
|
|||
args.push_str(
|
||||
&Escape {
|
||||
arg: arg.to_str().unwrap(),
|
||||
// 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()),
|
||||
// Windows-style escaping for @-files is used by
|
||||
// - all linkers targeting MSVC-like targets, including LLD
|
||||
// - all LLD flavors running on Windows hosts
|
||||
// С/С++ compilers use Posix-style escaping (except clang-cl, which we do not use).
|
||||
is_like_msvc: sess.target.is_like_msvc
|
||||
|| (cfg!(windows) && flavor.uses_lld() && !flavor.uses_cc()),
|
||||
}
|
||||
.to_string(),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue