diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-09-17 13:46:46 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-09-18 15:25:25 +1000 |
| commit | 8b0a25486040b91ede0120ff5a797517e0973895 (patch) | |
| tree | f2881c17bd25c544486cdd82630c32f6c504fe68 /compiler/rustc_codegen_llvm/src/llvm | |
| parent | 93117677d857bb7c3f12c9dc500d77839f8fb13d (diff) | |
| download | rust-8b0a25486040b91ede0120ff5a797517e0973895.tar.gz rust-8b0a25486040b91ede0120ff5a797517e0973895.zip | |
Move target machine command-line quoting from C++ to Rust
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 71d8b7d25fe..c1b5649a582 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -2488,8 +2488,10 @@ unsafe extern "C" { OutputObjFile: *const c_char, DebugInfoCompression: *const c_char, UseEmulatedTls: bool, - ArgsCstrBuff: *const c_uchar, // See "PTR_LEN_STR". - ArgsCstrBuffLen: usize, + Argv0: *const c_uchar, // See "PTR_LEN_STR". + Argv0Len: size_t, + CommandLineArgs: *const c_uchar, // See "PTR_LEN_STR". + CommandLineArgsLen: size_t, UseWasmEH: bool, ) -> *mut TargetMachine; |
