diff --git a/kernel/src/panic.rs b/kernel/src/panic.rs index 9d2cceb..7289d41 100644 --- a/kernel/src/panic.rs +++ b/kernel/src/panic.rs @@ -1,5 +1,6 @@ use core::panic::PanicInfo; +#[cfg(not(test))] #[panic_handler] fn on_panic(_info: &PanicInfo) -> ! { loop {}