From 16536f3d2b277820a3c93ba6ab536f94d0324605 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 26 May 2024 05:01:40 -0400 Subject: [PATCH] Only provide dummy _Unwind_Resume on x86 Windows --- src/fcmp/fcmp_rust/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fcmp/fcmp_rust/src/lib.rs b/src/fcmp/fcmp_rust/src/lib.rs index 69f66eb49..78aa50eda 100644 --- a/src/fcmp/fcmp_rust/src/lib.rs +++ b/src/fcmp/fcmp_rust/src/lib.rs @@ -243,5 +243,6 @@ pub extern "C" fn hash_trim_selene( } // https://github.com/rust-lang/rust/issues/79609 +#[cfg(all(target_os = "windows", target_arch = "x86"))] #[no_mangle] pub extern "C" fn _Unwind_Resume() {}