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
+2
View File
@@ -0,0 +1,2 @@
[build]
target = "x86_64-unknown-none"
+1
View File
@@ -0,0 +1 @@
/target
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "illuminance"
version = "1.0.0"
edition = "2026"
[dependencies]
+1
View File
@@ -0,0 +1 @@
// TODO: write this
+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 {}
}