1 2 3 4 5 6 7 8 9 10 11 12
use rustc_version; fn main() { let version = rustc_version::version().unwrap(); println!("cargo:rustc-env=RUSTC_VERSION={}", version); capnpc::CompilerCommand::new() .output_path("src") .file("iomod.capnp") .run() .unwrap(); }