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 fail to compile with "the name ... is defined multiple times" and "cycle detected when computing type of ..."
- Bindings fail to compile with "recursive type .. has infinte size" and "cycle detected when computing drop-check constraints"
- bindings fail to compile with "the name ... is defined multiple times"
- Odd issue with include paths and wasm32-wasi target because .h file gets detected as C rather than C++
- Add an option to override the representation of enums
- Clarify C++ usecase in the readme
- if size_t_is_usize is set to true, and bindgen handles a size_t, and size_t ≠ uintptr_t, bindgen should abort
- read arguments from response file
- bindgen produces an E0588 when dealing with union and packed struct
- C++ class method pointer treated as C function pointer
- Docs
- Rust not yet supported