From aa229b827c6f9fff752775e988c6651b2e0da8f1 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 17 Mar 2023 10:05:43 -0400 Subject: [PATCH] tamer: Makefile.am: cargo clippy: Use active feature flags This was missing `@FEATURES@`, which was causing more compilation than necessary, but also causing clippy to evaluate different code. This also adds RUSTFLAGS, for the same reason of not wanting to recompile. DEV-13708 --- tamer/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tamer/Makefile.am b/tamer/Makefile.am index fd6fa94b..ce3bdd34 100644 --- a/tamer/Makefile.am +++ b/tamer/Makefile.am @@ -72,7 +72,7 @@ check-system: bin .PHONY: check-lint check-lint: - @CARGO@ +@RUST_TC@ @CARGO_FLAGS@ clippy + RUSTFLAGS="$(RUSTFLAGS)" @CARGO@ +@RUST_TC@ @CARGO_FLAGS@ clippy @FEATURES@ .PHONY: check-fmt check-fmt: