Add the rust std as a custom sysroot

This commit is contained in:
2026-03-17 18:29:00 +01:00
parent 404a681254
commit 46cdc3714e
50 changed files with 1158 additions and 320 deletions

9
user/shell/Cargo.toml Normal file
View File

@@ -0,0 +1,9 @@
[package]
name = "shell"
version = "0.1.0"
edition = "2024"
[dependencies]
# std = { path = "../../crates/std" }
# shared = { path = "../../crates/shared", features = ["user"] }
# core = { path = "../../crates/std/crates/core" }

9
user/shell/src/main.rs Normal file
View File

@@ -0,0 +1,9 @@
fn main() {
let a = std::env::args();
for a in a {
println!("Argument: {}", a);
}
println!(
"Hello from PIC program loaded dynamically with custom std and a better justfile, and syscalls ! "
);
}