bazel /
crubit /
edf553b43addaef8aa3a8c1d756ac6affc44e769 [rust-interop] Add a temporary way to add lifetime annotations to functions.
This exploits the clang::annotate attribute to attach a function lifetime
annotation to the function declaration. Eventually, this should be replaced by
a more convenient syntax, but in the meantime this allows to start working with
lifetime annotations.
A future CL will add similar temporary support for lifetime parameters on classes/structs.
PiperOrigin-RevId: 424328341
4 files changed
tree: 90ec8c4c7a30f82afe3dd6c7965b0fc0a9fc50c5
- lifetime_annotations/
- rs_bindings_from_cc/
- CODE_OF_CONDUCT
- CONTRIBUTING
- LICENSE
- README.md
README.md
Crubit: C++/Rust Bidirectional Interop Tool
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.