commit | 6967aadb3c1b7a9facff8219f96c189c55f90c3e | [log] [tgz] |
---|---|---|
author | Devin Jeanpierre <jeanpierreda@google.com> | Tue Mar 14 20:46:24 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 14 20:46:56 2023 -0700 |
tree | eae0af0047c13a4d6de66a9e2c6630b1772582df | |
parent | 25f9f5add602c3d828afaf167a4354119d3f13f1 [diff] |
One pass of fixing clippy errors. This doesn't fix all of them, especially because many are introduced inside of macros, and because others in the integration tests might be on purpose -- I didn't dig in too far. But it fixes most of the non-macro ones in the top-level directory. PiperOrigin-RevId: 516709804
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