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
- Incorrect wrapper generated by `--wrap-static-fns --c-naming`
- Consider using UnsafeCell instead of [u8; 0] for forward declarations.
- Support taking options from a file
- Error when using unicode character literals
- `Builder` methods receiving `bool` parameters considered harmful
- Macro redefinitions are not being respected
- Consider using `assert_cmd` for testing
- Using the github repo version of `bindgen` points to a very old version.
- C globals with initializers turned into Rust constants
- `no-copy` flag unexpectedly removes `Clone` derive as well
- Docs
- Rust not yet supported