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
  1. lifetime_annotations/
  2. rs_bindings_from_cc/
  3. CODE_OF_CONDUCT
  4. CONTRIBUTING
  5. LICENSE
  6. 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.