about summary refs log tree commit diff
path: root/library/std/src/sys/pal/xous/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/xous/mod.rs')
-rw-r--r--library/std/src/sys/pal/xous/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/xous/mod.rs b/library/std/src/sys/pal/xous/mod.rs
index 383d031ed43..042c4ff862f 100644
--- a/library/std/src/sys/pal/xous/mod.rs
+++ b/library/std/src/sys/pal/xous/mod.rs
@@ -1,5 +1,7 @@
 #![forbid(unsafe_op_in_unsafe_fn)]
 
+use crate::os::xous::ffi::exit;
+
 pub mod os;
 #[path = "../unsupported/pipe.rs"]
 pub mod pipe;
@@ -9,3 +11,7 @@ pub mod time;
 #[path = "../unsupported/common.rs"]
 mod common;
 pub use common::*;
+
+pub fn abort_internal() -> ! {
+    exit(101);
+}