commit | 5abeb93333db6ca1c44dbb55860987c408553a11 | [log] [tgz] |
---|---|---|
author | scentini <rosica@google.com> | Thu Apr 28 16:32:00 2022 +0200 |
committer | GitHub <noreply@github.com> | Thu Apr 28 16:32:00 2022 +0200 |
tree | b4f5bd7b0e933a025bdd8c4f114bb6bdc0d018d5 | |
parent | 0175a1b7aaada0ea34c984c30c245da2a56e8d6c [diff] |
Don't emit `CrateInfo` from `rust_static_library` and `rust_shared_library` (#1298) These rules emit a `staticlib` and `cdylib` which are not meant for consumption by other rust targets. However, one should still be able to write a `rust_test` for `rust_shared_library` and `rust_static_library` targets, which needs a `CrateInfo`. For this purpose we provide a `CrateInfo` wrapped in a `TestCrateInfo` provider, that `rust_test` understands.
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust
.
Please refer to the full documentation.