yay! it compiles

This commit is contained in:
2026-08-21 14:53:47 -04:00
parent fefaeac362
commit 58fd50a595
7 changed files with 22 additions and 2 deletions
+8
View File
@@ -1,8 +1,16 @@
#![no_std]
#![no_main]
mod arch;
mod kernel;
#[unsafe(no_mangle)]
pub extern "C" fn _start() -> ! {
kernel::init::init();
loop {}
}
#[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 {}