diff options
Diffstat (limited to 'src/panic_wait.rs')
-rw-r--r-- | src/panic_wait.rs | 9 |
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!() +} |