Files
illuminance/src/main.rs
T
2026-08-21 14:53:47 -04:00

17 lines
338 B
Rust

#![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 {}
}