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
- More bitfield brokenness
- Possible perf improvements.
- Do not generate bindings if replacement type has a different size/alignment than replacee
- Treat #define similarly to templates when used for types
- Consider adding option for utilizing extern_types
- generated function has an argument which shadows a generated static
- Check and log libclang version in library usage, not just bin
- Wrong memory layout when handle virtual inheritance
- Feature request: use C2Rust to generate Rust versions of static inline functions
- Provide safe allocation API for varsized structs
- Docs
- Rust not yet supported