about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-05T16·19+0200
committerflokli <flokli@flokli.de>2024-01-05T16·37+0000
commit3297843bf144d2f5abfe44a1858db37720e80054 (patch)
tree82a268f63fb4dbb346ba456f2faf36abfaaf5db0
parente66dcba19549a0a108f93b17feafb8084a1e67a1 (diff)
chore(tvix): run clippy with --{benches,examples} r/7345
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
-rw-r--r--tvix/default.nix2
1 files changed, 1 insertions, 1 deletions
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 = [