Build upon the limine Rust template and a working pipeline, display an orange background on load.

This commit is contained in:
csd4ni3l
2026-03-13 18:57:56 +01:00
parent 1da63e1d62
commit b80e6735cd
16 changed files with 736 additions and 21 deletions

7
kernel/build.rs Normal file
View File

@@ -0,0 +1,7 @@
fn main() {
let arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap();
// Tell cargo to pass the linker script to the linker..
println!("cargo:rustc-link-arg=-Tlinker-{arch}.ld");
// ..and to re-run if it changes.
println!("cargo:rerun-if-changed=linker-{arch}.ld");
}