commit | 867fc37c175f69427a8f484f6978092000cac9fc | [log] [tgz] |
---|---|---|
author | Roberto Bampi <gigaroby@users.noreply.github.com> | Fri Aug 05 10:33:00 2022 +0200 |
committer | GitHub <noreply@github.com> | Fri Aug 05 10:33:00 2022 +0200 |
tree | f615a017735a6d37b489f71bc30958d31a8e74d8 | |
parent | c97f255dfe23107670fb5193ecc0e6e31045285c [diff] |
rules_rust: enable pipelined compilation. (#1275) Pipelined compilation allows better parallelism during builds as it allows libraries to generate lightweight metadata files to unlock other depencies. These metadata files (.rmeta) can only be used to unlock library -> library dependencies and do not affect builds in any other way. This is currently the default in cargo: https://internals.rust-lang.org/t/evaluating-pipelined-rustc-compilation/10199. Pipelined compilation will be disabled by default and will need to be enabled via flag. Pipelined compilation is not supported on windows and will thus always be disabled.
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.