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
- Bindings for headers using rust-style integer aliases are awkward
- __attribute__((aligned(2), packed)) generates both repr(packed) and repr(aligned)
- Bindgen becomes incredibly slow when using `--enable-function-attribute-detection` with newer-style `[[attribute]]` syntax.
- Segmentation Fault in C++ operator caused by argument being NULL
- Implemented derives fail when packed
- bindgen disregards c++ using directives.
- Making ir publicly accessible
- Support for `std::underlying_type_t`
- `#pragma pack(1)` struct containing another packed struct is not packed itself.
- Very strange cwd-dependent behavior
- Docs
- Rust not yet supported