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 supported4 Subscribers
Add a CodeTriage badge to rust-bindgen
Help out
- Issues
- Feature request: option to mark function as safe
- Opaque-struct fallback silently corrupts a fully-specified struct's layout on native Windows (mismatched/MSVC libclang)
- C++23 explicit object member functions get an extra implicit this pointer
- Pass system header paths to fallback parser
- `nullptr_t` bindings name a type that is never defined
- `[[no_unique_address]]` on an empty member is laid out as a 1-byte field, disagreeing with clang
- C++ empty class by-value arguments are passed even though clang omits them
- `Copy` is not being derived when referring to a blocklisted type
- `matrix_type` values are passed with the wrong ABI in generated bindings
- feat: add --opaque-type-alias-as-c-void option
- Docs
- Rust not yet supported