about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-07-11 10:11:03 +0200
committerNikita Popov <npopov@redhat.com>2025-07-18 09:35:50 +0200
commit12b19be741ea07934d7478bd8e450dca8f85afe5 (patch)
tree87e349109f0e8892a8cbb043b53a39b11032ddb7 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent63e1074c97b60d248f86321f021871f93ba10c31 (diff)
downloadrust-12b19be741ea07934d7478bd8e450dca8f85afe5.tar.gz
rust-12b19be741ea07934d7478bd8e450dca8f85afe5.zip
Pass wasm exception model to TargetOptions
This is no longer implied by -wasm-enable-eh.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 0b1e632cbc4..80a0e5c5acc 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -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);