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
Generated
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "illuminance"
version = "1.0.0"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "illuminance"
version = "1.0.0"
edition = "2026"
edition = "2024"
[dependencies]
+1
View File
@@ -0,0 +1 @@
pub mod x86_64;
+1
View File
@@ -0,0 +1 @@
//
+3
View File
@@ -0,0 +1,3 @@
pub fn init() {
// something something init kernel
}
+1 -1
View File
@@ -1 +1 @@
// TODO: write this
pub mod init;
+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 {}