commit | b977a3c7e12bf61700750f65e731ed305bd788d9 | [log] [tgz] |
---|---|---|
author | Devin Jeanpierre <jeanpierreda@google.com> | Fri Jul 08 04:22:26 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jul 08 04:22:52 2022 -0700 |
tree | 9772a5eb8b89138da1bd5f83230b4f852a3f5b82 | |
parent | 84aeda417a6b5b08c8419f946a0a8c0c54ee5012 [diff] |
Un-delete copy/move constructors from nontrivial types in goldens. I accidentally deleted these in an earlier change, which broke NontrivialUnpin in particular -- it was no longer Unpin! PiperOrigin-RevId: 459726518
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.
$ 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
$ git clone https://github.com/llvm/llvm-project $ cd llvm-project $ CC=clang CXX=clang++ cmake -S llvm -B build -DLLVM_ENABLE_PROJECTS='clang' -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install $ cmake --build build -j $ # wait... $ cmake --install build $ cd ../crubit $ LLVM_INSTALL_PATH=../llvm-project/install bazel build //rs_bindings_from_cc:rs_bindings_from_cc_impl