bazel /
crubit /
58f271171541d0ed15a2a31180848adf7bcca48c Clarify that `name` and `decl_id` are mutually exclusive.
Even before this CL, RsType::ToJson and CcType::ToJson would include
only *one* of `name` and `decl_id` fields (i.e. treating them as
mutually exclusive in JSON representation of the IR).
This CL goes one step further:
- Documents the mutual exclusivity in the comments
- Tightens MappedType::WithDeclId method to avoid passing redundant
names.
PiperOrigin-RevId: 434796126
2 files changed
tree: 3168af45c5042f0e910462d8143ff2431199f310
- lifetime_annotations/
- 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 pull us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.