Don't import records declared within functions.

I noticed this issue while working on codegen for type aliases, which in turn
expands the set of structs that we are able to import. This surfaced this issue
in the consume_absl test.

PiperOrigin-RevId: 420732553
2 files changed
tree: 775e8d111453a8afb328dfaa211e17d4a3bbfb9f
  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.