mirror of
https://github.com/topjohnwu/cxx.git
synced 2024-11-24 04:20:02 +00:00
d24563dd24
This means that clang++ will be called instead of clang.
10 lines
248 B
Rust
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");
|
|
}
|