summaryrefslogtreecommitdiff
path: root/rust-src/bch_bindgen/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust-src/bch_bindgen/build.rs')
-rw-r--r--rust-src/bch_bindgen/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust-src/bch_bindgen/build.rs b/rust-src/bch_bindgen/build.rs
index 22c9777a..74497b81 100644
--- a/rust-src/bch_bindgen/build.rs
+++ b/rust-src/bch_bindgen/build.rs
@@ -30,7 +30,6 @@ fn main() {
.clang_arg("-fkeep-inline-functions")
.derive_debug(true)
.derive_default(true)
- .derive_eq(true)
.layout_tests(true)
.default_enum_style(bindgen::EnumVariation::Rust {
non_exhaustive: true,
@@ -51,6 +50,8 @@ fn main() {
.allowlist_var("BCH_.*")
.allowlist_var("KEY_SPEC_.*")
.allowlist_var("bch.*")
+ .allowlist_var("__BTREE_ITER.*")
+ .allowlist_var("BTREE_ITER.*")
.allowlist_var("POS_MIN")
.allowlist_var("POS_MAX")
.allowlist_var("SPOS_MAX")