From 7ab44c7d15f4f103d000ca7ca809819ff34650b7 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Mon, 28 Feb 2022 22:22:03 +0200 Subject: [PATCH] =?UTF-8?q?build:=20=F0=9F=9B=A0=20allow=20deprecated=20co?= =?UTF-8?q?de=20in=20clippy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.toml b/Makefile.toml index 3502a58..5bff275 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -124,7 +124,7 @@ args = ["doc", "--open", "--no-deps", "@@split(PLATFORM_TARGET, )"] [tasks.clippy] env = { "TARGET_FEATURES" = "rpi3", "CLIPPY_FEATURES" = { value = "--features=${CLIPPY_FEATURES}", condition = { env_set = ["CLIPPY_FEATURES"] } } } command = "cargo" -args = ["clippy", "@@split(PLATFORM_TARGET, )", "@@remove-empty(CLIPPY_FEATURES)", "--", "-D", "warnings"] +args = ["clippy", "@@split(PLATFORM_TARGET, )", "@@remove-empty(CLIPPY_FEATURES)", "--", "--deny", "warnings", "--allow", "deprecated"] # These tasks are written in cargo-make's own script to make it portable across platforms (no `basename` on Windows) [tasks.custom-binary]