Skip to content

Commit fbb3c19

Browse files
committed
Use re-export instead of inline wrapper in libunwind
This ensures that there are no calls to `C-unwind` function in libunwind.
1 parent 68f063b commit fbb3c19

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

library/unwind/src/libunwind.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,7 @@ if #[cfg(not(all(target_os = "ios", target_arch = "arm")))] {
264264
pub fn _Unwind_SjLj_RaiseException(e: *mut _Unwind_Exception) -> _Unwind_Reason_Code;
265265
}
266266

267-
#[inline]
268-
pub unsafe fn _Unwind_RaiseException(exc: *mut _Unwind_Exception) -> _Unwind_Reason_Code {
269-
_Unwind_SjLj_RaiseException(exc)
270-
}
267+
pub use _Unwind_SjLj_RaiseException as _Unwind_RaiseException;
271268
}
272269
} // cfg_if!
273270

0 commit comments

Comments
 (0)