Skip to content

Commit

Permalink
rust: upgrade bindgen to 0.54
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jun 24, 2020
1 parent 61f61a6 commit cda76a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/evmc-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ categories = ["external-ffi-bindings"]
edition = "2018"

[build-dependencies]
bindgen = "0.52.0"
bindgen = "0.54.0"
2 changes: 2 additions & 0 deletions bindings/rust/evmc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ fn gen_bindings() {
.whitelist_type("evmc_.*")
.whitelist_function("evmc_.*")
.whitelist_var("EVMC_ABI_VERSION")
// TODO: consider removing this
.size_t_is_usize(true)
.generate()
.expect("Unable to generate bindings");

Expand Down

0 comments on commit cda76a2

Please sign in to comment.