commit | dd44d98f7ef0fa56fca8814eb7e8625757da8e24 | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@google.com> | Thu Sep 22 10:09:37 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 22 10:10:06 2022 -0700 |
tree | e8fa0055ee87fed44e44bdd37e29017a02bb13fd | |
parent | b8279db2225cf423ae7489095fba20d31e49e301 [diff] |
Make `token_stream_[printer|matchers].rs` depend on regular `anyhow`. `Result`s of printing or matching a `TokenStream` are never used with `salsa` and therefore there is no need to use and depend on `arc_anyhow` from `token_stream_printer.rs` and `token_stream_matchers.rs`. PiperOrigin-RevId: 476130867
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