Skip to content

Commit

Permalink
Merge pull request #13 from trumank/update-bindgen
Browse files Browse the repository at this point in the history
Update bindgen to fix building with clang 16
  • Loading branch information
boncheolgu authored Oct 11, 2023
2 parents 3e260f5 + bbc1356 commit 6728056
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 6728056

Please sign in to comment.