rust/compiler/rustc_codegen_llvm/src/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
..
diagnostic.rs Reduce visibility of most items in rustc_codegen_llvm 2025-03-25 16:36:47 +11:00
enzyme_ffi.rs Make llvm_enzyme a regular cargo feature 2025-09-15 15:31:56 +00:00
ffi.rs Auto merge of #146700 - Zalathar:quoted-args, r=nikic 2025-09-19 18:32:17 +00:00
mod.rs initial implementation of the darwin_objc unstable feature 2025-09-13 16:06:22 -07:00