bazel /
crubit /
bdf70d34dfcb17e5756bc16d6e19f97897bdad98 Further tweaks to get stable, deterministic order of IR items.
It turns out that some items from test/golden/unsupported.h had the same
`getBeginLoc()` and `local_order` and therefore their ordering was
undeterministic (e.g. see
[]
The 2 unordered items were:
decl->print = struct final NestedStruct {}
decl->getBeginLoc() = .../test/golden/unsupported.h:23:3
unsupported_item->name = ContainingStruct::NestedStruct
local_order = 1 (i.e. Record)
decl->print = struct NestedStruct
decl->getBeginLoc() = .../test/golden/unsupported.h:23:3
unsupported_item->name = ContainingStruct::NestedStruct::NestedStruct
local_order = 1 (i.e. Record)
PiperOrigin-RevId: 424393868
1 file changed
tree: 57521efc0355c5078717cf118c473e48ec83f36c
- 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 take us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.