From daf3da680d806c9c66151cfad1b9c8705c25c0d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Fri, 24 Mar 2023 16:32:11 +0100 Subject: [PATCH] Remove RUSTFLAGS in make lint Cargo recompiles everything when the RUSTFLAGS change so this makes lint slower than they need to be. Removing this doesn't miss any lints because the clippy pass also has `--deny warnings`# Please enter the commit message for your changes. Lines starting --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1050eb3..be2d68e 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ check: .PHONY: lint lint: cargo fmt --check - RUSTLFAGS='-Dwarnings' cargo check --all-features --all-targets + cargo check --all-features --all-targets cargo clippy --all-targets --all-features -- -Dwarnings RUSTDOCFLAGS='-Dwarnings' cargo doc --all-features reuse lint