aboutsummaryrefslogtreecommitdiff
path: root/src/panic_wait.rs
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-08-17 22:14:15 -0700
committerChristian Cunningham <cc@localhost>2022-08-17 22:14:15 -0700
commit91d0ae783e51062f77b120b05c97cd352b9b86d5 (patch)
tree0270dfe976f91c11e62bb960420b366c08545d6f /src/panic_wait.rs
Initial commit
Diffstat (limited to 'src/panic_wait.rs')
-rw-r--r--src/panic_wait.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/panic_wait.rs b/src/panic_wait.rs
new file mode 100644
index 0000000..33097d8
--- /dev/null
+++ b/src/panic_wait.rs
@@ -0,0 +1,9 @@
+//! A panic handler that infinitely waits
+
+use core::panic::PanicInfo;
+
+/// Panic handler
+#[panic_handler]
+fn panic(_info: &PanicInfo) -> ! {
+ unimplemented!()
+}