commit | 4b3492a38eacacbc93da1a22290dd5d86c1b7668 | [log] [tgz] |
---|---|---|
author | James Farrell <83229348+jfgoog@users.noreply.github.com> | Tue Sep 14 10:36:07 2021 -0500 |
committer | GitHub <noreply@github.com> | Tue Sep 14 17:36:07 2021 +0200 |
tree | edde25ea01056434f5680ac3e621988be8617e7d | |
parent | ec3bebf88ba4b304a0501b1f594314a319a3d30c [diff] |
Optionally capture clippy lints as a build output (#937) * Allow clippy lints to optionally be captured as a build output, so they can be consumed by downstream tools integrated with the build system. * Fix buildifier lint. * Fix buildifier lints. * Fix missing import of ClippyInfo * Fix path for //:capture_clippy_output * Return ClippyInfo even if there is no crate info * Add test for failure semantics when capturing clippy output. * Fully qualify :providers.bzl * Rename ClippyConfigInfo to CaptureClippyOutputInfo * Update doc fields to state that captured output uses the configured error_format * Sort loads. * Sort loads. * Merge capture_output logic into a single if block. * Regenerate documentation * Build documentation for capture_clippy_output. * Update docs. * Update human-readable docs to specify that captured clippy output uses the configured error_format. * Make redundant doc fields consistent. Move CaptureClippyOutputInfo to provider.bzl. Improve readability of clippy_failure_test.sh
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.