From 4a88e3940ebdeca0939c85c050fc67d4e5b7ff02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Fri, 5 Jul 2024 16:50:24 +0100 Subject: [PATCH] wasm/Make: run clippy with `--all-targets` --- wasm/Makefile | 2 +- wasm_for_tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wasm/Makefile b/wasm/Makefile index 1bc09fcc1c0..6c38626701f 100644 --- a/wasm/Makefile +++ b/wasm/Makefile @@ -16,7 +16,7 @@ check: $(cargo) +$(nightly) check --workspace --target wasm32-unknown-unknown clippy: - $(cargo) +$(nightly) clippy --workspace -- -D warnings + $(cargo) +$(nightly) clippy --all-targets --workspace -- -D warnings clippy-fix: $(cargo) +$(nightly) clippy --fix -Z unstable-options --workspace --allow-dirty --allow-staged diff --git a/wasm_for_tests/Makefile b/wasm_for_tests/Makefile index fc63e4bfea8..d0617bb03bd 100644 --- a/wasm_for_tests/Makefile +++ b/wasm_for_tests/Makefile @@ -38,7 +38,7 @@ check: $(cargo) +$(nightly) check --workspace --target wasm32-unknown-unknown clippy: - $(cargo) +$(nightly) clippy --workspace -- -D warnings + $(cargo) +$(nightly) clippy --all-targets --workspace -- -D warnings clippy-fix: $(cargo) +$(nightly) clippy --fix -Z unstable-options --workspace --allow-dirty --allow-staged