diff options
Diffstat (limited to 'rust-src/bch_bindgen/build.rs')
-rw-r--r-- | rust-src/bch_bindgen/build.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/rust-src/bch_bindgen/build.rs b/rust-src/bch_bindgen/build.rs index 74497b81..8d9986f8 100644 --- a/rust-src/bch_bindgen/build.rs +++ b/rust-src/bch_bindgen/build.rs @@ -52,17 +52,12 @@ fn main() { .allowlist_var("bch.*") .allowlist_var("__BTREE_ITER.*") .allowlist_var("BTREE_ITER.*") - .allowlist_var("POS_MIN") - .allowlist_var("POS_MAX") - .allowlist_var("SPOS_MAX") .blocklist_item("bch2_bkey_ops") - .allowlist_type("bch_kdf_types") - .allowlist_type("bch_sb_field_.*") - .allowlist_type("bch_encrypted_key") + .allowlist_type("bch_.*") .allowlist_type("nonce") - .allowlist_type("bch_errcode") - .allowlist_function("bch2_err_str") + .no_debug("bch_replicas_padded") .newtype_enum("bch_kdf_types") + .rustified_enum("bch_key_types") .opaque_type("gendisk") .opaque_type("gc_stripe") .opaque_type("open_bucket.*") |