Commit dd6acf23 authored by Yonggang Luo's avatar Yonggang Luo
Browse files

Split build variable.

parent a57c35c4
...@@ -53,7 +53,8 @@ fn main() { ...@@ -53,7 +53,8 @@ fn main() {
generate_bindings(&p); generate_bindings(&p);
}); });
cc::Build::new() let mut build = cc::Build::new();
build
.flag("-nostdinc") .flag("-nostdinc")
.flag("-nostdlib") .flag("-nostdlib")
.include(&format!("{}/include", crate_dir)) .include(&format!("{}/include", crate_dir))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment