]> git.hungrycats.org Git - linux/commit
rust: kbuild: support `skip_clippy` for `rustc_procmacro`
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 8 Jun 2026 14:14:26 +0000 (16:14 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Tue, 9 Jun 2026 02:13:22 +0000 (04:13 +0200)
commitbe43b5d9c26c1f46a89766ec59feb9dffee4c797
treeaeefb4064df51a933653f1382987542a7b2748ce
parent0ba60f71440fc5ff73a4ce650c2ea96c3942112b
rust: kbuild: support `skip_clippy` for `rustc_procmacro`

Certain vendored crates, like the upcoming `zerocopy-derive`, do not
need to be built with Clippy since we `--cap-lints=allow` them anyway.

Thus add support to skip Clippy for proc macro crates.

Acked-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260608141439.182634-8-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/Makefile