From 7492c51b2587cc431659c3a9284d23b861aa4415 Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 16 Sep 2024 18:10:54 +0200 Subject: [PATCH] build: Follow bindgen deprecations --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 9550a8e..770342b 100644 --- a/build.rs +++ b/build.rs @@ -229,7 +229,7 @@ fn main() { .no_debug("ble_hci_ev_le_subev_periodic_adv_rpt") .no_debug("ext_adv_report") .derive_default(true) - .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .generate() .expect("Unable to generate bindings");