Bump Rust to nightly-2022-01-19

This commit is contained in:
Yifan Wu 2022-01-20 16:16:08 -08:00
parent 15a7033af6
commit 8917eb7acc
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
nightly-2022-01-01
nightly-2022-01-19

View File

@ -7,7 +7,7 @@ extern crate user_lib;
use user_lib::{sleep, exit, get_time, fork, waitpid};
fn sleepy() {
let time: usize = 1000;
let time: usize = 100;
for i in 0..5 {
sleep(time);
println!("sleep {} x {} msecs.", i + 1, time);
@ -27,4 +27,4 @@ pub fn main() -> i32 {
println!("use {} msecs.", get_time() - current_time);
println!("sleep pass.");
0
}
}