Add the rust std as a custom sysroot

This commit is contained in:
2026-03-17 20:13:39 +01:00
parent 56a00d0403
commit f97c4b233a
37 changed files with 802 additions and 2285 deletions

View File

@@ -4,4 +4,6 @@ version = "0.1.0"
edition = "2024"
[dependencies]
std = { path = "../../crates/std" }
# std = { path = "../../crates/std" }
# shared = { path = "../../crates/shared", features = ["user"] }
# core = { path = "../../crates/std/crates/core" }

View File

@@ -1,6 +1,9 @@
fn main() -> isize {
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 ! "
);
0
}