Skip to content

Commit

Permalink
Bump bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Oct 14, 2024
1 parent a97ba90 commit 6bfac7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/open_jtalk-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ generate-bindings = []

[build-dependencies]
cmake = "0.1.48"
bindgen = "0.62.0"
bindgen = "0.70.1"

[dependencies]
link-cplusplus = "1.0.6"
4 changes: 2 additions & 2 deletions crates/open_jtalk-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ fn generate_bindings(
.header("wrapper.hpp")
.allowlist_recursively(true)
.clang_args(clang_args)
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.size_t_is_usize(true)
.rustfmt_bindings(true)
.formatter(bindgen::Formatter::Prettyplease)
.rustified_enum(".*");
let paths = std::fs::read_dir(include_dir).unwrap();
for path in paths {
Expand Down

0 comments on commit 6bfac7d

Please sign in to comment.