From 9217c76d3d66d41118c992bee67e794b56df7995 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Mon, 12 Sep 2022 21:43:53 +0100 Subject: [PATCH] Fix name for ForcedUnwind --- src/abi.rs | 2 +- src/unwinder/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/abi.rs b/src/abi.rs index e7f485c..737cb0f 100644 --- a/src/abi.rs +++ b/src/abi.rs @@ -137,7 +137,7 @@ binding! { extern "C-unwind" fn _Unwind_RaiseException( exception: &mut UnwindException, ) -> UnwindReasonCode; - extern "C-unwind" fn _Unwind_ForceUnwind( + extern "C-unwind" fn _Unwind_ForcedUnwind( exception: &mut UnwindException, stop: UnwindStopFn, stop_arg: *mut c_void, diff --git a/src/unwinder/mod.rs b/src/unwinder/mod.rs index 861f03a..a62a911 100644 --- a/src/unwinder/mod.rs +++ b/src/unwinder/mod.rs @@ -217,7 +217,7 @@ fn raise_exception_phase2( #[inline(never)] #[no_mangle] -pub extern "C-unwind" fn _Unwind_ForceUnwind( +pub extern "C-unwind" fn _Unwind_ForcedUnwind( exception: &mut UnwindException, stop: UnwindStopFn, stop_arg: *mut c_void,