summaryrefslogtreecommitdiff
path: root/rust-src/bch_bindgen/build.rs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-02-21 15:58:42 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-02-21 15:58:42 -0500
commitc67ea7b6a10d6b51de965f3530b79e84854a377a (patch)
treef8de4876acc1e0e426b692f562dc584165d3d434 /rust-src/bch_bindgen/build.rs
parentf2ab6e552d311f585e95190075f90b2dd916055d (diff)
rust-src: Clean up read_super bindings
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust-src/bch_bindgen/build.rs')
-rw-r--r--rust-src/bch_bindgen/build.rs2
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")