Use re-export instead of inline wrapper in libunwind
This ensures that there are no calls to `C-unwind` function in libunwind.
This commit is contained in:
parent
68f063bf3f
commit
fbb3c19e03
@ -264,10 +264,7 @@ pub fn _Unwind_Backtrace(trace: _Unwind_Trace_Fn,
|
||||
pub fn _Unwind_SjLj_RaiseException(e: *mut _Unwind_Exception) -> _Unwind_Reason_Code;
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub unsafe fn _Unwind_RaiseException(exc: *mut _Unwind_Exception) -> _Unwind_Reason_Code {
|
||||
_Unwind_SjLj_RaiseException(exc)
|
||||
}
|
||||
pub use _Unwind_SjLj_RaiseException as _Unwind_RaiseException;
|
||||
}
|
||||
} // cfg_if!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user