Use `CXXRecordDecl` at interface boundaries, since we're only interoperating with C++.

This simplifies the code at places, and gets rid of a lot of silliness around casting.

Also, cleans up an incorrect crashy cast when I misunderstood something dmitrig@ was telling me. I'm sorry!

PiperOrigin-RevId: 426077256
2 files changed
tree: ea5b6839d0c01255eaa64aa6ec23275d34d7740c
  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.