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
- Renaming a `using` defined template type lose generic definition
- Derive analysis manual selection is too conservative
- Use field name instead of bindgen_ty_1
- Broken bitfields behavior
- Infinite reference loops in C++ headers
- `_bindgen_union_align` field in generated Rust union results in garbage data on AArch64 (e.g. Apple Silicon)
- 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
- Docs
- Rust not yet supported