From 3297843bf144d2f5abfe44a1858db37720e80054 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 5 Jan 2024 18:19:53 +0200 Subject: 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 Tested-by: BuildkiteCI --- tvix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvix/default.nix b/tvix/default.nix index 5f524295744f..dc1d4015b10d 100644 --- a/tvix/default.nix +++ b/tvix/default.nix @@ -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 = [ -- cgit 1.4.1