From 5ea3ee9fe1c0c51fa21ede66ad48b63d4d489373 Mon Sep 17 00:00:00 2001 From: koniifer Date: Sun, 24 Nov 2024 16:39:24 +0000 Subject: [PATCH] able sanity check --- kernel/src/kmain.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/src/kmain.rs b/kernel/src/kmain.rs index 625b9cd7e..fdd670094 100644 --- a/kernel/src/kmain.rs +++ b/kernel/src/kmain.rs @@ -22,12 +22,13 @@ use { pub fn kmain(_cmdline: &str, boot_modules: BootModules) -> ! { debug!("Entered kmain"); - #[cfg(feature = "ktest")] { + #[cfg(feature = "ktest")] + { use crate::ktest; debug!("TESTING"); ktest::test_main(); - loop {}; + loop {} } // let kcmd = build_cmd("Kernel Command Line", cmdline); @@ -131,7 +132,7 @@ pub fn kmain(_cmdline: &str, boot_modules: BootModules) -> ! { executor.run(); }; - + log::info!("Started AbleOS"); crate::arch::spin_loop() }