about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-19 14:18:25 +1000
committerGitHub <noreply@github.com>2025-08-19 14:18:25 +1000
commit8945924d77065c96d35f81bc19a0b9040664bb57 (patch)
tree5647e44fb087ca4d3a8c50073f114341a23f0e7c /compiler/rustc_codegen_llvm/src/llvm
parent02848e7d25e2a5f46a7548c7ca4b0e8f9f730061 (diff)
parent9e7d06692803af171633b90799495be880dc3508 (diff)
downloadrust-8945924d77065c96d35f81bc19a0b9040664bb57.tar.gz
rust-8945924d77065c96d35f81bc19a0b9040664bb57.zip
Rollup merge of #145432 - Zalathar:target-machine, r=wesleywiser
cg_llvm: Small cleanups to `owned_target_machine`

This PR contains a few tiny cleanups to the `owned_target_machine` code.

Each individual commit should be fairly straightforward.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 8265b0114ce..d7316b11a90 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2443,7 +2443,7 @@ unsafe extern "C" {
         OutputObjFile: *const c_char,
         DebugInfoCompression: *const c_char,
         UseEmulatedTls: bool,
-        ArgsCstrBuff: *const c_char,
+        ArgsCstrBuff: *const c_uchar, // See "PTR_LEN_STR".
         ArgsCstrBuffLen: usize,
         UseWasmEH: bool,
     ) -> *mut TargetMachine;