chore(bench): add grep check for trivial in benches

This commit is contained in:
Thomas Montaigu
2025-10-17 12:32:44 +02:00
committed by tmontaigu
parent 0dd0ead4e2
commit eed5a6c5ba

View File

@@ -1317,6 +1317,7 @@ dieharder_csprng: install_dieharder build_tfhe_csprng
.PHONY: clippy_bench # Run clippy lints on tfhe-benchmark
clippy_bench: install_rs_check_toolchain
! (grep --recursive "trivial" tfhe-benchmark && echo "trivial found in benches")
RUSTFLAGS="$(RUSTFLAGS)" cargo "$(CARGO_RS_CHECK_TOOLCHAIN)" clippy --all-targets \
--features=boolean,shortint,integer,internal-keycache,nightly-avx512,pbs-stats,zk-pok \
-p tfhe-benchmark -- --no-deps -D warnings