mirror of https://github.com/rust-lang/rust.git
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 @@ if #[cfg(not(all(target_os = "ios", target_arch = "arm")))] {
|
|||
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