From bafebd0758dfb62e74d631d5bc8ab65d090dbe95 Mon Sep 17 00:00:00 2001 From: ceres Date: Fri, 24 May 2024 10:38:09 +0200 Subject: [PATCH] Bump bindgen dependency --- libuci-sys/Cargo.toml | 2 +- libuci-sys/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libuci-sys/Cargo.toml b/libuci-sys/Cargo.toml index c12d28d..f429105 100644 --- a/libuci-sys/Cargo.toml +++ b/libuci-sys/Cargo.toml @@ -15,5 +15,5 @@ exclude = ["libubox/tests/*", "uci/tests/*"] targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -bindgen = "^0.58.1" +bindgen = "^0.69.4" cmake = "^0.1.45" diff --git a/libuci-sys/build.rs b/libuci-sys/build.rs index 1a8516c..1589d3d 100644 --- a/libuci-sys/build.rs +++ b/libuci-sys/build.rs @@ -55,7 +55,7 @@ fn main() { .header("wrapper.h") // 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())) .allowlist_function("uci_.*") .allowlist_type("uci_.*") .allowlist_var("uci_.*")