4
0
Эх сурвалжийг харах

aya-tool: enable clang_macro_fallback

See
https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.clang_macro_fallback.
Tamir Duberstein 3 сар өмнө
parent
commit
28a28c9872

+ 1 - 0
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 {