]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: kbuild: define `procmacro-name` function
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 8 Jun 2026 14:14:23 +0000 (16:14 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Tue, 9 Jun 2026 02:13:22 +0000 (04:13 +0200)
commit50f3637a459a420ec84e73fa93c0ea469c7acdec
treeee8fac7b8735fb7958a1d7ba1fb9ef7012e7683f
parent34ea644acaf4ed85b14493ffd4284d1c9059372c
rust: kbuild: define `procmacro-name` function

Since we are adding one more proc macro crate (`zerocopy-derive`),
we are refactoring their handling.

Thus define a `procmacro-name` function and use it to fill the existing
variables' values.

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