diff options
Diffstat (limited to 'rust-src/bch_bindgen/build.rs')
-rw-r--r-- | rust-src/bch_bindgen/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust-src/bch_bindgen/build.rs b/rust-src/bch_bindgen/build.rs index a2cb8957..c5f19ff0 100644 --- a/rust-src/bch_bindgen/build.rs +++ b/rust-src/bch_bindgen/build.rs @@ -52,6 +52,8 @@ fn main() { .allowlist_type("bch_sb_field_.*") .allowlist_type("bch_encrypted_key") .allowlist_type("nonce") + .allowlist_type("bch_errcode") + .allowlist_function("bch2_err_str") .newtype_enum("bch_kdf_types") .opaque_type("gendisk") .opaque_type("bkey") |