ableos_userland/programs/std_test/src/main.rs

16 lines
218 B
Rust
Raw Normal View History

2023-03-30 01:31:55 -05:00
use std::{
env::{self, args},
print_char,
};
2023-03-09 06:36:35 -06:00
fn main() {
2023-03-30 01:31:55 -05:00
for x in args().inner {
print_char(x as char);
}
print_char(b'\n' as char);
2023-03-09 06:36:35 -06:00
print("Hello, world!\n");
panic!("Broken");
}