Skip to content

Commit

Permalink
Merge pull request #526 from ethereum/rust-bindgen
Browse files Browse the repository at this point in the history
rust: upgrade bindgen to 0.54
  • Loading branch information
axic committed Jun 24, 2020
2 parents 5915690 + 340d028 commit ba36720
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 ba36720

Please sign in to comment.