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
- transparent_union parameters lose the first member signext ABI requirement
- Generated bitfield accessors shift by 64 when a field spans a 65-bit window
- fix: use the latest value when a macro is redefined
- regparm(2) functions on i386 are emitted as ordinary extern C
- --wrap-static-fns generates invalid C for pointer-to-array parameters and returns
- Nonzero pointer address spaces are silently erased in generated bindings and static wrappers
- Visibility attributes on extern global variables are dropped from generated bindings
- Aligned padding wrapper shifts a following flexible-array member
- `generate_cstr(true)` results in weird spacing for long strings
- Add `ParseCallbacks` method to override enum type representation
- Docs
- Rust not yet supported