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
- Over enforced naming in shared library name?
- C variable length arrays (VLAs) get imported incorrectly
- bindgen-cli generates mixed EOL if rustfmt is configured to use non-native style
- call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block
- Finegrained control over bindings generation of class members
- wrap_static_fns adds extra incorrect 'const' to pointer parameters
- Disallow passing `_Complex` by value
- bindgen Incompatibility with LLVM 21.1 C++ Template Metaprogramming
- Generating a dummy `dynamic-loading`-like struct when not using libloading
- Support Clang parameter nullability attributes: _Nonnull & _Nullable for C headers
- Docs
- Rust not yet supported