Add the rust std as a custom sysroot
This commit is contained in:
@@ -6,14 +6,15 @@ use core::time::Duration;
|
||||
|
||||
use shared::syscall::{sleep, write_string_temp};
|
||||
|
||||
pub fn test() {
|
||||
pub fn test(_argc: isize, _argv: *const *const u8) {
|
||||
loop {
|
||||
// write_string_temp(str::from_utf8(_args[0]).unwrap());
|
||||
write_string_temp("test");
|
||||
sleep(Duration::new(2, 0));
|
||||
}
|
||||
}
|
||||
|
||||
pub fn proc2() {
|
||||
pub fn proc2(_argc: isize, _argv: *const *const u8) {
|
||||
loop {
|
||||
write_string_temp("proc2");
|
||||
sleep(Duration::new(3, 0));
|
||||
|
||||
Reference in New Issue
Block a user