Merge pull request #144 from oyyd/build-derive-default
chore: make bindgen::Builder derive default
This commit is contained in:
commit
a480af611e
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ fn main() {
|
|||
sys_bindigs_path.push("bindings.h");
|
||||
|
||||
bindgen::Builder::default()
|
||||
.derive_default(true)
|
||||
.header(sys_bindigs_path.to_str().unwrap().to_owned())
|
||||
.clang_arg(String::from("-I") + node_include_path.to_str().unwrap())
|
||||
.rustified_enum("(napi_|uv_).+")
|
||||
|
|
Loading…
Reference in a new issue