Bump Rust to nightly-2022-01-19
This commit is contained in:
parent
15a7033af6
commit
8917eb7acc
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue