Clean way to patch the std
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#![feature(custom_std)]
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user