diff options
Diffstat (limited to 'kernel/src/testing')
-rw-r--r-- | kernel/src/testing/panic.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/src/testing/panic.rs b/kernel/src/testing/panic.rs index 11469f2..7dad694 100644 --- a/kernel/src/testing/panic.rs +++ b/kernel/src/testing/panic.rs @@ -33,5 +33,6 @@ pub fn should_panic(_info: &PanicInfo) -> ! { pub fn panic(info: &PanicInfo) -> ! { interrupts::disable(); crate::io::panic_screen::show(info.message()); + #[allow(clippy::empty_loop)] loop {} } |