#![feature(core_intrinsics)] use std::io::Write; fn main() { let _ = ::std::iter::repeat('a' as u8).take(10).collect::>(); let stderr = ::std::io::stderr(); let mut stderr = stderr.lock(); writeln!(stderr, "some {} text", "").unwrap(); let _ = std::process::Command::new("true").env("c", "d").spawn(); println!("cargo:rustc-link-lib=z"); static ONCE: std::sync::Once = std::sync::ONCE_INIT; ONCE.call_once(|| {}); LoopState::Continue(()) == LoopState::Break(()); } #[derive(PartialEq)] enum LoopState { Continue(()), Break(()) }