1 2 3 4 5 6 7
// -*- rust -*- use std; fn main() { let mut i: int = 0; while i < 100 { i = i + 1; log(error, i); task::yield(); } }