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
- C Atomics are not converted to equivalent atomics in Rust
- Unable to generate bindings for when the _Atomic type qualifier is used
- Avoid assigning (wrong) types to constants using #define
- Missing constants on macOS vs Linux
- Avoid use of non-FFI safe type u128 for alignment
- allowlist with opaque_type on `typedef struct A {} A;` generates invalid code
- Renamed C++ enums wrapped in namespace produce incorrect variant types
- Layout error with struct that includes __attribute__((aligned(8)))
- (Almost) every `cargo` invocation rebuilds bindgen and all its downstream dependencies
- Question about bindgen binding inspection
- Docs
- Rust not yet supported