commit | fb204270957140b92a7fd05ee71a39ffd33951ad | [log] [tgz] |
---|---|---|
author | Googler <no-reply@google.com> | Fri Dec 02 00:52:05 2022 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Dec 02 00:52:48 2022 -0800 |
tree | 76d80256324c3fe78bef18c3719ab2be843a28ee | |
parent | b4beb39c75a3efb909d2e7c54d7a8751ffe5af88 [diff] |
Move logic for formatting doc comments into its own function To be used for formatting doc comments for ADTs. Also update doc comment for `format_fn` to reflect the renaming of the LocalDefId parameter. PiperOrigin-RevId: 492403059
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