From 31699826230f3d77df02eda4675912ee9b180da3 Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Sat, 11 Jul 2026 00:23:59 +0800 Subject: [PATCH] fix(make): align clippy-check with CI to fix macOS pre-pr gate (#4692) CI runs `cargo clippy --all-targets -- -D warnings` without `--all-features`, but the Makefile's clippy-check used `--all-features`. After PR #4663 made the dial9 telemetry feature opt-in and removed `--cfg tokio_unstable` from .cargo/config.toml, `--all-features` activated dial9 (which requires tokio_unstable) and dial9-taskdump (which requires tokio/taskdump, Linux-only), breaking local `make pre-pr` on macOS. Align the Makefile with CI by dropping `--all-features` from clippy-check. --- .config/make/lint-fmt.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/make/lint-fmt.mak b/.config/make/lint-fmt.mak index fe39dcd48..c38a0a78b 100644 --- a/.config/make/lint-fmt.mak +++ b/.config/make/lint-fmt.mak @@ -15,7 +15,7 @@ fmt-check: core-deps fmt-deps ## Check code formatting .PHONY: clippy-check clippy-check: core-deps ## Run clippy checks @echo "🔍 Running clippy checks..." - cargo clippy --all-targets --all-features -- -D warnings + cargo clippy --all-targets -- -D warnings .PHONY: clippy-fix clippy-fix: core-deps ## Apply clippy fixes