Support n != 1 arguments to `CtorNew`.

Next steps for `!Unpin` constructors:

1. forbid constructing an object directly, by adding a private field.

Next steps for `!Unpin` in general:

1. assignment operators.
2. pin-projection

After that, I'll need to run through the design doc for anything I missed, but should be essentially done. I think the remaining points are really not that bad -- this was the hardest part, probably. (Pin-projection will be like one line of code, morally speaking; assignment operators are just normal bindings glue.)

Stoke.

PiperOrigin-RevId: 440986931
9 files changed
tree: 13138fe1ed259f6a644c508bb5749e6f40110241
  1. common/
  2. lifetime_annotations/
  3. rs_bindings_from_cc/
  4. BUILD
  5. CODE_OF_CONDUCT
  6. CONTRIBUTING
  7. LICENSE
  8. 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.