Skip to content

Commit

Permalink
build: Follow bindgen deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Sep 16, 2024
1 parent 223b359 commit 7492c51
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 @@ -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");

Expand Down

0 comments on commit 7492c51

Please sign in to comment.