commit | 0b3b70c101892b289f66a3e40d828f5b798b0f69 | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <lukasza@google.com> | Fri Sep 02 10:00:40 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 02 10:01:17 2022 -0700 |
tree | 7beadd98fa2a16a4629569ce002d1c6c574b8787 | |
parent | f3aa3e925a6beafad02434ea4dc89be69213daa0 [diff] |
Fix comment of DeclImporter::GetItemIdsInSourceOrder. Before this CL, the comment would incorrectly state that GetItemIdsInSourceOrder "assumes that the children decls have already been imported". This statement was incorrect, because implementation of GetItemIdsInSourceOrder calls Importer::GetDeclItem which "returns the Item of a Decl, importing it first if necessary". Other minor tweaks have also been applied to the comment. This CL has no impact on the behavior of the code. PiperOrigin-RevId: 471825880
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