Skip to content

Commit

Permalink
Upgrade bindgen to 0.51.0
Browse files Browse the repository at this point in the history
This pulls in the fix for rust-lang/rust-bindgen#1589 which unblocks
enabling layout tests for mruby-sys.
  • Loading branch information
lopopolo committed Jul 28, 2019
1 parent ed5e8bb commit d5f0d1e
Show file tree
Hide file tree
Showing 4 changed files with 3,001 additions and 64 deletions.
54 changes: 3 additions & 51 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion mruby-sys/Cargo.toml
Expand Up @@ -16,6 +16,9 @@ doctest = false
[dependencies]

[build-dependencies]
bindgen = "0.49.0"
cc = "1.0"
fs_extra = "1.1.0"

[build-dependencies.bindgen]
version = "0.51.0"
default-features = false
2 changes: 0 additions & 2 deletions mruby-sys/build.rs
Expand Up @@ -146,8 +146,6 @@ fn main() {
.whitelist_var("^MRB.*")
.whitelist_var("^MRUBY.*")
.whitelist_var("REGEXP_CLASS")
// As of bindgen 0.49.0, `mrb_heap_page` type fails a layout test.
.layout_tests(false)
.rustified_enum("mrb_vtype")
.rustified_enum("mrb_lex_state_enum")
.rustified_enum("mrb_range_beg_len")
Expand Down

0 comments on commit d5f0d1e

Please sign in to comment.