From 28a28c9872f72d77f7d524746315e7442b88265a Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 2 Jan 2025 13:55:10 -0500 Subject: [PATCH] aya-tool: enable clang_macro_fallback See https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.clang_macro_fallback. --- aya-tool/src/bindgen.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/aya-tool/src/bindgen.rs b/aya-tool/src/bindgen.rs index 8a3fd4dca..d138ddf36 100644 --- a/aya-tool/src/bindgen.rs +++ b/aya-tool/src/bindgen.rs @@ -6,6 +6,7 @@ fn common_builder() -> Builder { .layout_tests(false) .generate_comments(false) .prepend_enum_name(false) + .clang_macro_fallback() } pub fn user_builder() -> Builder {