fix build failure with nixos libfuse3 headers

it pulls in reference to libfuse_version which is currently blacklisted
This commit is contained in:
Lunyaaa~ 2026-03-23 15:05:41 +01:00 committed by GitHub
parent 4c4fefb0c6
commit 134b41fa98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,8 @@ fn fuse_binding_filter(builder: bindgen::Builder) -> bindgen::Builder {
.allowlist_function("(?i)^fuse.*")
.allowlist_var("(?i)^fuse.*")
.blocklist_type("fuse_log_func_t")
.blocklist_function("fuse_set_log_func");
.blocklist_function("fuse_set_log_func")
.allowlist_type("^libfuse_version$");
builder
}