3 ms·
Well for creating bindings, Rust's bindgen falls short. The fact that you need to play around and switch on flags to properly recognise variables, macros and fu
by rvz 6y ago
Well for creating bindings, Rust's bindgen falls short. The fact that you need to play around and switch on flags to properly recognise variables, macros and functions over a .h only for generating the FFI layer, it is just harder to maintain, even when updating the library.
Swift's ClangImporter does this automatically in the language via clang modules, unlike Rust's bindgen.