]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: kbuild: add proc macro library support
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Nov 2025 15:18:15 +0000 (16:18 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Nov 2025 16:15:36 +0000 (17:15 +0100)
commit7dbe46c0b11dded16cf9c5f85c1a3f260422cee5
tree0ae20348f4e0a6e1013b933065ac15444f33913d
parent1181c974421818ff7318e3a211c87b5dd437c13e
rust: kbuild: add proc macro library support

Add the proc macro library rule that produces `.rlib` files to be used
by proc macros such as the `macros` crate.

Reviewed-by: Gary Guo <gary@garyguo.net>
Tested-by: Gary Guo <gary@garyguo.net>
Tested-by: Jesung Yang <y.j3ms.n@gmail.com>
Link: https://patch.msgid.link/20251124151837.2184382-4-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
.gitignore
rust/Makefile