Add the rust std as a custom sysroot
This commit is contained in:
9
user/shell/src/main.rs
Normal file
9
user/shell/src/main.rs
Normal 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 ! "
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user