]> Gentwo Git Trees - linux/.git/commit
rust: kbuild: support using libraries in `rustc_procmacro`
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Nov 2025 15:18:17 +0000 (16:18 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 24 Nov 2025 16:15:37 +0000 (17:15 +0100)
commitc46b34f1d484c11c2a0cbd663168c2213175ca5c
treeb06b50d3f86736557d8ac0ce4fd6425aef90ea1c
parentd4e7307b1f3535c19ff6ca24d3e4aec32cebb120
rust: kbuild: support using libraries in `rustc_procmacro`

Proc macros such as `macros` and `pin-init` will need the ability to use
libraries such as `syn` (added later) in the `rustc_procmacro` command.

Thus add the support for it.

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
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-6-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/Makefile