From c67ea7b6a10d6b51de965f3530b79e84854a377a Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 21 Feb 2023 15:58:42 -0500 Subject: rust-src: Clean up read_super bindings Signed-off-by: Kent Overstreet --- rust-src/bch_bindgen/build.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust-src/bch_bindgen/build.rs') 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") -- cgit v1.2.3