commit | 999d3b193b9be37d9a00a891c6cbac27d998370f | [log] [tgz] |
---|---|---|
author | Devin Jeanpierre <jeanpierreda@google.com> | Tue Feb 14 04:18:58 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Feb 14 04:19:39 2023 -0800 |
tree | 8c661a623dfa187284cc91b217d8c7b20830eb77 | |
parent | a0502fb199c6eb5ca0e74c6f4524ed8f75f0638c [diff] |
Make trailing comma test not dependent on exact group contents. This allows us to change what the last item is without breaking the test. It does still test the intended thing, because it requires that the trailing comma come before the closing `}` token. PiperOrigin-RevId: 509487102
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