]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sys/sgx/mod.rs
SGX target: improve panic & exit handling
[rust.git] / src / libstd / sys / sgx / mod.rs
index 7f8550490a19968a69c81f24ad94ea593c409d29..f2593c35bed14c6c79103d2716e6b0a098e9627f 100644 (file)
@@ -125,7 +125,7 @@ pub unsafe fn strlen(mut s: *const c_char) -> usize {
 }
 
 pub unsafe fn abort_internal() -> ! {
-    abi::panic::panic_exit()
+    abi::panic::usercall_exit(true)
 }
 
 pub fn hashmap_random_keys() -> (u64, u64) {