Pass wasm exception model to TargetOptions

This is no longer implied by -wasm-enable-eh.
This commit is contained in:
Nikita Popov
2025-07-11 10:11:03 +02:00
parent 63e1074c97
commit 12b19be741
5 changed files with 11 additions and 2 deletions

View File

@@ -2425,6 +2425,7 @@ unsafe extern "C" {
UseEmulatedTls: bool,
ArgsCstrBuff: *const c_char,
ArgsCstrBuffLen: usize,
UseWasmEH: bool,
) -> *mut TargetMachine;
pub(crate) fn LLVMRustDisposeTargetMachine(T: *mut TargetMachine);