mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 18:44:56 +00:00
8 lines
124 B
Rust
8 lines
124 B
Rust
// -*- rust -*-
|
|
use std;
|
|
|
|
fn main() {
|
|
let i: int = 0;
|
|
while i < 100 { i = i + 1; log_err i; std::task::yield(); }
|
|
}
|