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
- fix: support header_contents() with clang_macro_fallback
- fix: resolve bitfield accessor name conflicts
- Add `--translate-function-macros` to translate C function-like macros to Rust `const fn`
- `clang_macro_fallback()` silently skipped when using `header_contents()`
- bitfields: inconsistent size between --opaque-type and not (both wrong)
- Generation of const pointers
- test: add regression test for issue #3319
- Support passing attributes on the command line
- allow renaming rules for C enums, structs, and typedefs
- Missing virtual destructors in C++ vtables on Linux x86_64
- Docs
- Rust not yet supported