third_party_rust_cxx/build.rs
2020-03-13 01:29:23 -07:00

9 lines
229 B
Rust

fn main() {
cc::Build::new()
.file("src/cxx.cc")
.flag("-std=c++11")
.compile("cxxbridge02");
println!("cargo:rerun-if-changed=src/cxx.cc");
println!("cargo:rerun-if-changed=include/cxx.h");
}