extern crate duct; use duct::cmd; fn main() { println!("cargo:rerun-if-changed=./src"); cmd!("rustc", "-V").stdout_path("./rustc-version").run().unwrap(); }