commit | ae9be086c76115a5861b856bd64cd9f2bfbec72b | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@google.com> | Wed Oct 05 07:33:57 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 05 07:34:40 2022 -0700 |
tree | f1f1be3c3c56565637150a28128489c7e4f428b7 | |
parent | 51953acf3cb2662d6710189bd15e2dc82504cc09 [diff] |
Moving `clang::format` usage into `token_stream_printer_impl`. PiperOrigin-RevId: 479041954
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