about summary refs log tree commit diff
path: root/library/std/src/sys/pal/sgx/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/sgx/mod.rs')
-rw-r--r--library/std/src/sys/pal/sgx/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/sgx/mod.rs b/library/std/src/sys/pal/sgx/mod.rs
index 9a04fa4b97e..37ca6b08c95 100644
--- a/library/std/src/sys/pal/sgx/mod.rs
+++ b/library/std/src/sys/pal/sgx/mod.rs
@@ -123,7 +123,7 @@ pub fn abort_internal() -> ! {
 // This function is needed by the panic runtime. The symbol is named in
 // pre-link args for the target specification, so keep that in sync.
 #[cfg(not(test))]
-#[no_mangle]
+#[unsafe(no_mangle)]
 // NB. used by both libunwind and libpanic_abort
 pub extern "C" fn __rust_abort() {
     abort_internal();