diff options
Diffstat (limited to 'bch_bindgen/build.rs')
-rw-r--r-- | bch_bindgen/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bch_bindgen/build.rs b/bch_bindgen/build.rs index 2abbe581..b9f7eb65 100644 --- a/bch_bindgen/build.rs +++ b/bch_bindgen/build.rs @@ -47,6 +47,7 @@ fn main() { .default_enum_style(bindgen::EnumVariation::Rust { non_exhaustive: true, }) + .bitfield_enum("btree_iter_update_trigger_flags") .allowlist_function("bcachefs_usage") .allowlist_function("raid_init") .allowlist_function("cmd_.*") @@ -84,6 +85,7 @@ fn main() { .opaque_type("gc_stripe") .opaque_type("open_bucket.*") .opaque_type("replicas_delta_list") + .allowlist_type("sb_names") .no_copy("btree_trans") .no_copy("printbuf") .no_partialeq("bkey") |