19 lines
470 B
Rust
19 lines
470 B
Rust
#![feature(core_intrinsics)]
|
|
|
|
use std::io::Write;
|
|
|
|
fn main() {
|
|
let _ = ::std::iter::repeat('a' as u8).take(10).collect::<Vec<_>>();
|
|
let stderr = ::std::io::stderr();
|
|
let mut stderr = stderr.lock();
|
|
|
|
writeln!(stderr, "some {} text", "<unknown>").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(|| {});
|
|
}
|