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 supported3 Subscribers
Add a CodeTriage badge to rust-bindgen
Help out
- Issues
- Support complex macros.
- Build fails with (signal: 11, SIGSEGV: invalid memory reference)
- `_bindgen_union_align` field in generated Rust union results in garbage data on AArch64 (e.g. Apple Silicon)
- `.clang_arg("-x c++")` causes failure in `generate`
- "fatal error: 'string' file not found" on macOS
- Infinite recursion in bindgen::ir::ty::Type::safe_canonical_type
- Add an option to generate layout tests in a different file.
- bindgen is slow in a particular project
- std dependencies when `use_core` is used: new approach
- Make it possible so that function pointers aren't always wrapped in an Option.
- Docs
- Rust not yet supported