about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-09-19 18:32:17 +0000
committerbors <bors@rust-lang.org>2025-09-19 18:32:17 +0000
commit0be8e16088894483a7012c5026c3247c14a0c3c2 (patch)
treecc13482188009b5465cb26b77dae0f5645d61372 /compiler/rustc_codegen_llvm/src/errors.rs
parent59043567a5cf12800e1457c36ad6a6b0fa02c6b6 (diff)
parent8b0a25486040b91ede0120ff5a797517e0973895 (diff)
downloadrust-0be8e16088894483a7012c5026c3247c14a0c3c2.tar.gz
rust-0be8e16088894483a7012c5026c3247c14a0c3c2.zip
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.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions