SGX target: fix panic = abort
This commit is contained in:
parent
4772dc8087
commit
347a42e387
2 changed files with 4 additions and 2 deletions
|
|
@ -204,6 +204,7 @@ pub unsafe extern "C" fn __rust_print_err(m: *mut u8, s: i32) {
|
|||
}
|
||||
|
||||
#[no_mangle]
|
||||
// NB. used by both libunwind and libpanic_abort
|
||||
pub unsafe extern "C" fn __rust_abort() {
|
||||
::sys::abort_internal();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue