Only import tag types (classes etc.) if we've seen a declaration for them.

Otherwise, we will put decl_ids in the IR that don't have a corresponding
declaration.

Also, add an UnsupportedItem for a record if we couldn't import one of its
fields.

PiperOrigin-RevId: 419575499
5 files changed
tree: 8ba67496cab4fff209edd8d959e2f03ae6328fbb
  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.