diff --git a/Cargo.lock b/Cargo.lock index 7f9743a4..ea7fba86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,9 +82,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.68.1" +version = "0.69.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078" +checksum = "9ffcebc3849946a7170a05992aac39da343a90676ab392c51a4280981d6379c2" dependencies = [ "bitflags 2.4.0", "cexpr", diff --git a/Cargo.toml b/Cargo.toml index b7dabb26..b6db5d3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ humantime = {version = "2.1.0"} # chrono = "0.4.19" [build-dependencies] -bindgen = "0.68.1" +bindgen = "0.69.1" cc = { version = "1.0", features = ["parallel"] } pkg-config = "0.3" diff --git a/build.rs b/build.rs index b02ac28b..28853592 100644 --- a/build.rs +++ b/build.rs @@ -44,7 +44,7 @@ fn main() { .allowlist_function("kastore.*") // 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.