1 2 3 4 5 6 7
fn main() { println!("cargo:rerun-if-changed=src/catch.cpp"); cc::Build::new() .cpp(true) .file("src/catch.cpp") .compile("catch"); }