commit | adb512fbd7fd4d2aa22ca342e1fb84eccf2d5ba2 | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@google.com> | Fri Aug 26 07:04:42 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 26 07:05:19 2022 -0700 |
tree | a4f4bf30b3bcce8a877886210ba0e3b5bcbdaa24 | |
parent | ed480d68913ada846523f1238c64ec749d880085 [diff] |
Roll Abseil to 92fdbfb301f8b301b28ab5c99e7361e775c2fb8a. This Abseil roll fixes the following `-Warray-parameters` problem that Crubit's open source builds would encounter when using an earlier version of Abseil: ``` external/absl/absl/hash/internal/low_level_hash.cc:43:38: error: argument 'salt' of type 'const uint64_t[]' (aka 'const unsigned long[]') with mismatched bound [-Werror,-Warray-parameter] const uint64_t salt[]) { ^ external/absl/absl/hash/internal/low_level_hash.h:44:38: note: previously declared as 'const uint64_t[5]' (aka 'const unsigned long[5]') here const uint64_t salt[5]); ^ ``` PiperOrigin-RevId: 470237524
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