Skip to content

Commit

Permalink
bindings/rust: update bindgen version close #4989
Browse files Browse the repository at this point in the history
  • Loading branch information
horenso committed Aug 20, 2023
1 parent dbbe4ae commit 74e8e29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bindings/rust/elektra-sys/Cargo.toml.in
Expand Up @@ -16,5 +16,5 @@ resolver = "2"
[dependencies]

[build-dependencies]
bindgen = "= 0.55.1"
bindgen = "= 0.66.1"
object = "< 0.30.0"
4 changes: 2 additions & 2 deletions src/bindings/rust/elektra-sys/build.rs.in
Expand Up @@ -20,8 +20,8 @@ fn main() {
// bindings for.
.header("wrapper.h")
// Include only the necessary functions and enums
.whitelist_function("(key|ks|kdb).*")
.whitelist_var("(KEY|KDB).*")
.allowlist_function("(key|ks|kdb).*")
.allowlist_var("(KEY|KDB).*")
// bindgen uses clang for anything C-related.
// Here we set the necessary include directories
// such that any includes in the wrapper can be found.
Expand Down

0 comments on commit 74e8e29

Please sign in to comment.