Do not derive Copy and Clone for unions that have variants that are not
copy/clone.

PiperOrigin-RevId: 450618926
5 files changed
tree: 62767de708ae0d6f44e4754c5502c61ca4a9b70a
  1. cc_template/
  2. common/
  3. docs/
  4. lifetime_annotations/
  5. migrator/
  6. rs_bindings_from_cc/
  7. .bazelrc
  8. .gitignore
  9. BUILD
  10. Cargo.Bazel.lock
  11. CODE_OF_CONDUCT
  12. CONTRIBUTING
  13. LICENSE
  14. README.md
  15. WORKSPACE
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.

Building Crubit

$ apt install clang lld bazel
$ git clone git@github.com:google/crubit.git
$ cd crubit
$ bazel build --linkopt=-fuse-ld=/usr/bin/ld.lld //rs_bindings_from_cc:rs_bindings_from_cc_impl