diff options
author | Christian Cunningham <cc@localhost> | 2022-08-17 22:14:15 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-08-17 22:14:15 -0700 |
commit | 91d0ae783e51062f77b120b05c97cd352b9b86d5 (patch) | |
tree | 0270dfe976f91c11e62bb960420b366c08545d6f /src/panic_wait.rs |
Initial commit
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!() +} |