Rename DeclId to ItemId and make all our items have an item id.

Namespaces will contain an List<ItemId> that we'll use to generate the right items to the right place. For this, Comments and UnsupportedItems also need an id. For comments we use the address of the RawComment as an id, and the UnsupportedItem gets the id of its own decl (as of https://github.com/google/crubit/commit/593559136eb262fe3870c9827a00f232439a7587 we are generating one pre-IR item per decl, so each UnsupportedItem gets a unique id)

PiperOrigin-RevId: 436748182
8 files changed
tree: 4a5287203a3d4708f901238c2662db936865b7c8
  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 pull us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.