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 supported1 Subscribers
Add a CodeTriage badge to rust-bindgen
Help out
- Issues
- Require libclang 9.0 or newer
- Generation of overflow operations on estimating constant type sizes
- Controlling where to look for files - make distcheck and VPATH builds, finding config.h and other includes
- Attempted to add with overflow when generating a C++20 binding
- Generate `std::ffi::*` instead of the `std::os::raw::*` types
- Support `import_name` and `import_module` attributes when targeting `wasm32`
- Add support for config files
- ci: unexpected warning with cargo install --locked due to outdated Cargo.lock [easy] [not urgent]
- Add option to generate safe and unsafe conversions for rustified enums
- Generate `unsafe extern` blocks (Edition 2024)
- Docs
- Rust not yet supported