rust/compiler/rustc_llvm
bors 0be8e16088 Auto merge of #146700 - Zalathar:quoted-args, r=nikic
cg_llvm: Move target machine command-line quoting from C++ to Rust

When this code was introduced in rust-lang/rust#130446 and rust-lang/rust#131805, it was complicated by the need to maintain compatibility with earlier versions of LLVM.

Now that LLVM 20 is the baseline (rust-lang/rust#145071), we can do all of the quoting in pure Rust code, and pass two flat strings to LLVM to be used as-is.

---

In this PR, my priority has been to preserve the existing behaviour as much as possible, without worrying too much about what the behaviour *should* be. (Though I did avoid a leading space before the first argument.)
2025-09-19 18:32:17 +00:00
..
llvm-wrapper Auto merge of #146700 - Zalathar:quoted-args, r=nikic 2025-09-19 18:32:17 +00:00
src remove outdated jsbackend leftovers 2025-09-12 12:03:09 +03:00
build.rs remove outdated jsbackend leftovers 2025-09-12 12:03:09 +03:00
Cargo.toml Auto merge of #146018 - lambdageek:add-winres-version, r=wesleywiser 2025-09-09 03:56:41 +00:00