During function generation, always emit an `UnsupportedItem` instead of crashing.

This serves two goals:

1. Simplifies the API.
2. Prevents crashes, instead producing errors in the output.

I think it's an easy win, and that both of these are preferable outcomes, but LMK if I'm wrong.

PiperOrigin-RevId: 438532450
1 file changed
tree: 2f3b3f955f7f6ca13eb4f3ace93e84b9024d77c3
  1. lifetime_annotations/
  2. rs_bindings_from_cc/
  3. BUILD
  4. CODE_OF_CONDUCT
  5. CONTRIBUTING
  6. LICENSE
  7. 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.