Move target machine command-line quoting from C++ to Rust

This commit is contained in:
Zalathar
2025-09-17 13:46:46 +10:00
parent 93117677d8
commit 8b0a254860
7 changed files with 92 additions and 49 deletions

View File

@@ -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;