commit | 4258c9f4d52888abbea20b225e04ab6be315766f | [log] [tgz] |
---|---|---|
author | Marcel Hlopko <hlopko@google.com> | Wed May 25 04:14:39 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 25 04:15:10 2022 -0700 |
tree | 4006b29cbe00436f9fc1ce23474658ce871558a1 | |
parent | d4678de68ab00e3b4b7e9236d0d2057353e768b8 [diff] |
Do not generate bindings for templates inside namespaces yet. PiperOrigin-RevId: 450892042
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 $ cmake --build build -j $ # wait... $ cd ../crubit $ PREBUILT_LLVM_PATH=../llvm-project bazel build //rs_bindings_from_cc:rs_bindings_from_cc_impl