aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
authorMiguel Ojeda <ojeda@kernel.org>2026-06-08 16:14:21 +0200
committerMiguel Ojeda <ojeda@kernel.org>2026-06-09 04:13:21 +0200
commit70a8d5ada9fabf4a34732b718f9c992195eed2ea (patch)
tree35af967b98ac14d7c1cf24f63c28cc7b51552d9f /rust
parent8b1549eee9c7f27b4f4f7c7f575c3c50065b89ff (diff)
downloadath-70a8d5ada9fabf4a34732b718f9c992195eed2ea.tar.gz
rust: kbuild: show the right `quiet_cmd_rustc_procmacrolibrary`
When Clippy is skipped, `RUSTC` should be shown in `quiet` instead of `CLIPPY` to be accurate and to avoid confusion. Thus do so, matching what we do in `quiet_cmd_rustc_library`. Fixes: 7dbe46c0b11d ("rust: kbuild: add proc macro library support") Reviewed-by: Nicolas Schier <nsc@kernel.org> Link: https://patch.msgid.link/20260608141439.182634-3-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/Makefile b/rust/Makefile
index b9e9f512cec31..bec9726f256ce 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -517,7 +517,7 @@ $(obj)/exports_bindings_generated.h: $(obj)/bindings.o FORCE
$(obj)/exports_kernel_generated.h: $(obj)/kernel.o FORCE
$(call if_changed,exports)
-quiet_cmd_rustc_procmacrolibrary = $(RUSTC_OR_CLIPPY_QUIET) PL $@
+quiet_cmd_rustc_procmacrolibrary = $(if $(skip_clippy),RUSTC,$(RUSTC_OR_CLIPPY_QUIET)) PL $@
cmd_rustc_procmacrolibrary = \
$(if $(skip_clippy),$(RUSTC),$(RUSTC_OR_CLIPPY)) \
$(filter-out $(skip_flags),$(rust_common_flags) $(rustc_target_flags)) \