create very basic crate root
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
[build]
|
||||||
|
target = "x86_64-unknown-none"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/target
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
name = "illuminance"
|
||||||
|
version = "1.0.0"
|
||||||
|
edition = "2026"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
// TODO: write this
|
||||||
@@ -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 {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user