From 1746863d52c7a452aaec2605faf66d5166af5b9f Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Wed, 1 Nov 2023 16:37:03 -0700 Subject: [PATCH] bindgen: 0.68.1 -> 0.69.0 --- Cargo.toml | 2 +- build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6ba5b54..030e12c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ exclude = [ cfg-if = "^1.0.0" [build-dependencies] -bindgen = { version = "~0.68.1", optional = true } +bindgen = { version = "~0.69.0", optional = true } [dev-dependencies] version-sync = "~0.9.2" diff --git a/build.rs b/build.rs index 4c13a33..630437a 100644 --- a/build.rs +++ b/build.rs @@ -166,7 +166,7 @@ fn main() { .allowlist_var("FT_.*") .formatter(bindgen::Formatter::Rustfmt) .derive_default(true) - .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .clang_args(clang_args()) .generate() .expect("Unable to generate bindings");