chore(tvix/clippy): configure clippy allow block_in_conditions
… in Cargo.toml. This gets an imperative `cargo clippy` run to pick up that config, so `-A clippy::blocks_in_conditions` doesn't need to be explicitly specified anymore. Change-Id: I32b6cc50c77c22cba0d816d0db508c2f94b2c383 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11659 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: edef <edef@edef.eu> Tested-by: BuildkiteCI
This commit is contained in:
parent
14353ce751
commit
afcbc1d86d
5 changed files with 15 additions and 3 deletions
|
|
@ -224,9 +224,7 @@ in
|
|||
rustPlatform.cargoSetupHook
|
||||
];
|
||||
|
||||
# Allow blocks_in_conditions due to false positives with #[tracing::instrument(…)]:
|
||||
# https://github.com/rust-lang/rust-clippy/issues/12281
|
||||
buildPhase = "cargo clippy --tests --all-features --benches --examples -- -Dwarnings -A clippy::blocks_in_conditions | tee $out";
|
||||
buildPhase = "cargo clippy --tests --all-features --benches --examples -- -Dwarnings | tee $out";
|
||||
};
|
||||
|
||||
meta.ci.targets = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue