commit | c7cb5bd7a85496b31ab3e20216e7b35677572d09 | [log] [tgz] |
---|---|---|
author | scentini <rosica@google.com> | Tue Jun 07 17:15:26 2022 +0200 |
committer | GitHub <noreply@github.com> | Tue Jun 07 15:15:26 2022 +0000 |
tree | 872131ed412df568af8cffca2309088c94969366 | |
parent | 521e649ff44e9711fe3c45b0ec1e792f7e1d361e [diff] |
Support crates that have mix of generated and nongenerated inputs (#1340) Rustc expects the crate's sources to exist next to the crate's root. When a rust target specifies sources that are a mixture of generated and non-generated files, some of them will be located in the source directory, while others under `bazel-out`, which violates the above expectation. This PR adds support for specifying both generated and non-generated sources in the same target by creating symlinks for the non-generated sources.
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.