cxx/build.rs
Christopher Chalmers d24563dd24 Add cpp flag to cc
This means that clang++ will be called instead of clang.
2020-05-08 20:39:10 +01:00

10 lines
248 B
Rust

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