Fix use of deprecated object from bindgen
This commit is contained in:
parent
d0beff5a98
commit
d457098f2a
1 changed files with 1 additions and 1 deletions
2
build.rs
2
build.rs
|
@ -14,7 +14,7 @@ fn main() {
|
|||
|
||||
let bindings = bindgen::Builder::default()
|
||||
.header("src/bindgen_wrapper.h")
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
|
||||
.generate()
|
||||
.expect("Unable to generate bindings");
|
||||
|
||||
|
|
Loading…
Reference in a new issue