mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 05:04:23 +00:00
13 lines
177 B
Rust
13 lines
177 B
Rust
//@ run-pass
|
|
|
|
use std::thread;
|
|
|
|
pub fn main() {
|
|
let mut i: isize = 0;
|
|
while i < 100 {
|
|
i = i + 1;
|
|
println!("{}", i);
|
|
thread::yield_now();
|
|
}
|
|
}
|