commit | d4678de68ab00e3b4b7e9236d0d2057353e768b8 | [log] [tgz] |
---|---|---|
author | Marcel Hlopko <hlopko@google.com> | Wed May 25 01:38:13 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 25 01:38:37 2022 -0700 |
tree | 97e2a85858d309c1eb33bcf520d59e182a32ca91 | |
parent | c21d92fb35d1f68d22a3644959a26db906410141 [diff] |
Import decls in LinkageSpecDecl We don't need an explicit Item for this decl, so in this CL we're changing importer.cc to iterate decls inside LinkageSpecDecl right away. PiperOrigin-RevId: 450869812
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