create very basic crate root

This commit is contained in:
2026-08-21 14:40:41 -04:00
parent 1af14cd6d7
commit fefaeac362
5 changed files with 19 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#![no_std]
#![no_main]
mod kernel;
#[panic_handler] // providing a panic handler since there is no std
fn panic(_info: &core::panic::PanicInfo) -> !/*<-- function will never return (loop {} = while True(){})*/ {
loop {}
}