commit | f7cb22efa64a6a07813e30e9f9d70d1fd18e463e | [log] [tgz] |
---|---|---|
author | Roman Kashitsyn <roman.kashitsyn@gmail.com> | Mon Apr 25 23:17:58 2022 +0200 |
committer | GitHub <noreply@github.com> | Mon Apr 25 23:17:58 2022 +0200 |
tree | 358a265afe71459c3e400d7d26b43e642e473c86 | |
parent | e9f8b48711d54f2163865b324b888e8159526be1 [diff] |
feat(#514): pass extra flags to clippy (#1264) * feat(#514): pass extra flags to clippy This change adds a new configuration rule, `clippy_flags`. This rule allows you to override clippy flags that the `rust_clippy_aspect` aspect and the `rust_clippy` rule use. The flags affect all the targets. Adding the configuration to `.bazelrc` allows you to have consistent clippy settings for the whole team. Example: ``` --@rules_rust//:clippy_flags=-D,clippy::all,-A,clippy::too_many_arguments ``` * sort dict entries * Apply review feedback * fail on unsupported clippy configuration
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.