diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-17 12:50:48 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-17 12:51:03 -0400 |
commit | 05c6cb61f9d62aa94b943ed2f90b297c2e4930f2 (patch) | |
tree | c2d4743b5984b5cf338ab9c341ac5789818e0f66 | |
parent | 0f59cc6a9eae6624f767cb74a405971de5919135 (diff) |
bindgen: blacklist bch2_prt_vprintf
va_list isn't FFI-safe.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r-- | bch_bindgen/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bch_bindgen/build.rs b/bch_bindgen/build.rs index e2aeebb3..e1850f45 100644 --- a/bch_bindgen/build.rs +++ b/bch_bindgen/build.rs @@ -61,6 +61,7 @@ fn main() { .allowlist_function("keyctl_search") .allowlist_function("match_string") .allowlist_function("printbuf.*") + .blocklist_function("bch2_prt_vprintf") .blocklist_type("rhash_lock_head") .blocklist_type("srcu_struct") .allowlist_var("BCH_.*") |