about summary refs log tree commit diff
path: root/library/std/src/sys/pal/xous/os.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/xous/os.rs')
-rw-r--r--library/std/src/sys/pal/xous/os.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/library/std/src/sys/pal/xous/os.rs b/library/std/src/sys/pal/xous/os.rs
index 2230dabe096..d612a27d2bd 100644
--- a/library/std/src/sys/pal/xous/os.rs
+++ b/library/std/src/sys/pal/xous/os.rs
@@ -62,14 +62,6 @@ mod c_compat {
         }
         exit(unsafe { main() });
     }
-
-    // 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.
-    #[unsafe(no_mangle)]
-    // NB. used by both libunwind and libpanic_abort
-    pub extern "C" fn __rust_abort() -> ! {
-        exit(101);
-    }
 }
 
 pub fn errno() -> i32 {