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
main
Mike Gerwitz 2023-03-17 10:05:43 -04:00
parent 03b46ebeff
commit aa229b827c
1 changed files with 1 additions and 1 deletions

View File

@ -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: