commit | 8d1e43213eba631245a00eabd6fd210e8d5c59c7 | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@google.com> | Wed Jun 08 07:56:06 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jun 08 07:56:36 2022 -0700 |
tree | c54ae245b9b4dcd3a3090c2f9869afbfe9ef9393 | |
parent | ea74ebbd26c08a2d6252d642bf5aa635415d8551 [diff] |
Avoid conflicts/duplicates in `CovertToCcIdentifier(const BazelLabel&)`. PiperOrigin-RevId: 453679924
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