Skip to content

Commit

Permalink
sys: upgrade bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
tmfink committed Apr 16, 2024
1 parent efe28c1 commit c51f175
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 460 deletions.
44 changes: 19 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions capstone-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ travis-ci = { repository = "capstone-rust/capstone-sys" }
libc = { version = "0.2.59", default-features = false }

[build-dependencies]
bindgen = { optional = true, version = "0.62.0" }
regex = { optional = true, version = "1.3.1" }
bindgen = { optional = true, version = "0.69.0" }
regex = { optional = true, version = "1.10.4" }
cc = "1.0"

[features]
Expand Down
1 change: 1 addition & 0 deletions capstone-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ fn write_bindgen_bindings(
out_bindings_path: PathBuf,
out_impl_path: PathBuf,
) {
#[allow(deprecated)]
let mut builder = bindgen::Builder::default()
.rust_target(bindgen::RustTarget::Stable_1_19)
.size_t_is_usize(true)
Expand Down
Loading

0 comments on commit c51f175

Please sign in to comment.