bazel /
crubit /
51da81a924c9c0ea3c619d65749ee5d4ca3b89e4 Add more fundamental types.
This adds boolean, char, and floating point types.
A few notes:
* We can't map any C++ type to Rust `char`, because that type only allows UTF
scalar values, not any integer
* I am not importing `long double`, because Rust has no support for that
* I could have imported `__int128_t` and `__int128_t`, but decided not to,
for now.
* I think we don't need to map the `nullptr` type?
PiperOrigin-RevId: 397685256
2 files changed
tree: a60eb3aead3f557b626bcac598071b1f7b068a5f
- rs_bindings_from_cc/
- CODE_OF_CONDUCT
- CONTRIBUTING
- LICENSE
- README.md
README.md
Crubit: C++/Rust Bidirectional Interop Tool
Extremely experimental interop tooling for C++ and Rust.
Please don‘t use, this is an experiment and we don’t yet know where will it take us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.