From 411e2c0ae827348c3fbdb70fbf9610af1edadb5c Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Thu, 22 Feb 2024 23:00:51 -0600 Subject: [PATCH] satisfy rust analyzer for now --- kernel/src/panic.rs | 1 + 1 file changed, 1 insertion(+) 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 {}