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
- Wrong layout for packed struct with bitfields
- odd matching on c++ class
- long double becomes u128
- [feature-request] - Add support for declaring a C type immovable
- Generated tests are not compatible across architectures
- #define + sizeof(...) fails to emit constant
- panicked with `test.h`, but ok with `__binding.i`
- Inconsistent opaque type representation
- C++ template with nested declaration and out-of-line definition
- E0587 error on packed and aligned structures from C
- Docs
- Rust not yet supported