chore(tvix): run clippy with --{benches,examples}

While doing the obvious thing, ensuring clippy doesn't complain on our
benchmarks and examples, this will also flag build failures on them,
and contrary to cl/10301 not pollute the /nix/store with stuff we can't
execute anyways.

Change-Id: I7ee1c2babbc67dac9794274d05bb9d6e1251ed01
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10544
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-01-05 18:19:53 +02:00 committed by flokli
parent e66dcba195
commit 3297843bf1

View file

@ -223,7 +223,7 @@ in
rustPlatform.cargoSetupHook
];
buildPhase = "cargo clippy --tests --all-features -- -Dwarnings | tee $out";
buildPhase = "cargo clippy --tests --all-features --benches --examples -- -Dwarnings | tee $out";
};
meta.ci.targets = [