google/crubit
A bidirectional bindings generator for C++ and Rust.
https://skillcdn.ai/gh/google/crubitConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
a9601ab - License
Apache-2.0
Explore this repository
Searches the original text of skills and documents; display translations are not searched.
Folders
Documents
- `absl::Status` in RustIn Google C++, the standard types for communicating an error are absl::Status and absl::StatusOr<T>. In Rust, these are represented using NewStatus and NewStatusOr<T> from @abseil-cpp//absl/status (l…docs/types/absl_status.md
- Typescrubit.rs/overview/status#types describes Crubit's current and future for various types.docs/types/index.md
- Pointer typesC++ defines two categories of pointer types, while Rust adds a third. They are:docs/types/pointer.md
- Primitive typesCrubit maps primitive types[^terminology] to the direct equivalent in the other language. For example, C++ int32_t is Rust i32, C++ int is Rust ffi::c_int, C++ double is Rust f64, and so on.docs/types/primitive.md
- C++/Rust Protobuf interopWARNING: This page documents functionality that is currently internal to the Google monorepo.docs/types/protobuf.md