Skip to content

Commit

Permalink
fix deprecation warning in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
symphorien committed Dec 19, 2023
1 parent b0af6b9 commit 6a436a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn main() {
.clang_arg(standard)
// Tell cargo to invalidate the built crate whenever any of the
// included header files changed.
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
// Finish the builder and generate the bindings.
.generate()
// Unwrap the Result and panic on failure.
Expand Down

0 comments on commit 6a436a2

Please sign in to comment.