rust-bindgen
https://github.com/rust-lang/rust-bindgen
Rust
Automatically generates Rust FFI bindings to C (and some C++) libraries.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported2 Subscribers
Add a CodeTriage badge to rust-bindgen
Help out
- Issues
- Build fails with (signal: 11, SIGSEGV: invalid memory reference)
- Question: Is it possible to set a name for anonymous unions using an annotation comment to the C/C++ source code?
- Should not derive Debug, Copy, Clone for struct without definition
- Document somewhere that enums can be either c_int or c_uint
- bindgen creates incorrect bindings for `__attribute__((pass_object_size(...)))`
- Binding for const <typedef-ed array type> has incorrect mutability
- Problems with static member initialization.
- passing -print-search-dirs causes panic with no helpful message
- Support for a GCC-based backend
- c++ constexpr breaks with Mac OS native clang
- Docs
- Rust not yet supported