Skip to content

Commit

Permalink
Update bindgen to fix building with clang 16
Browse files Browse the repository at this point in the history
  • Loading branch information
trumank committed Sep 19, 2023
1 parent 3e04030 commit bbc1356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ rayon = "1.6.1"
serial_test = "1.0.0"

[build-dependencies]
bindgen = "0.59.1"
bindgen = "0.68.1"
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() {
let bindings = bindgen::Builder::default()
.header("wrapper.h")
.parse_callbacks(Box::new(ignored_macros))
.rustfmt_bindings(true)
.formatter(bindgen::Formatter::Rustfmt)
.generate() // Finish the builder and generate the bindings.
.expect("unable to generate bindings");

Expand Down

0 comments on commit bbc1356

Please sign in to comment.