This commit is contained in:
Paul Sajna
2018-03-11 11:26:35 -07:00
parent bc98f6a029
commit a000f1a2c0
+2 -2
View File
@@ -6,6 +6,6 @@ fn main() {
let crate_dir = env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR not set");
fs::create_dir_all("../../target/include").expect("failed to create include directory");
cbindgen::generate(crate_dir)
.expect("failed to generate bindings")
.write_to_file("../../target/include/sys/stat.h");
.expect("failed to generate bindings")
.write_to_file("../../target/include/sys/stat.h");
}