Skip to content

Commit

Permalink
Bump bindgen version. (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed May 1, 2021
1 parent 15fae93 commit e912f7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -26,7 +26,7 @@ rand = "0.8.3"
rand_distr = "0.4.0"

[build-dependencies]
bindgen = "0.57.0"
bindgen = "0.58.1"
cc = { version = "1.0", features = ["parallel"] }
pkg-config = "0.3"

Expand Down
16 changes: 8 additions & 8 deletions build.rs
Expand Up @@ -34,14 +34,14 @@ fn main() {
.header("wrapper.h")
.clang_arg("-Isubprojects/tskit")
.clang_arg("-Isubprojects/kastore")
.whitelist_type("tsk.*")
.whitelist_function("tsk.*")
.whitelist_type("TSK_.*")
.whitelist_var("TSK_.*")
.whitelist_type("KAS_.*")
.whitelist_var("KAS_.*")
.whitelist_type("kastore.*")
.whitelist_function("kastore.*")
.allowlist_type("tsk.*")
.allowlist_function("tsk.*")
.allowlist_type("TSK_.*")
.allowlist_var("TSK_.*")
.allowlist_type("KAS_.*")
.allowlist_var("KAS_.*")
.allowlist_type("kastore.*")
.allowlist_function("kastore.*")
// Tell cargo to invalidate the built crate whenever any of the
// included header files changed.
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
Expand Down

0 comments on commit e912f7b

Please sign in to comment.