Re: [PATCH 02/11] rust: macros: use `quote!` from vendored crate

Tamir Duberstein
2026-01-04T13:40:19Z

On Tue, Dec 16, 2025 at 4:47 AM Benno Lossin <lossin@kernel.org> wrote:
>
> On Thu Dec 11, 2025 at 7:56 PM CET, Gary Guo wrote:
> > From: Gary Guo <gary@garyguo.net>
> >
> > With `quote` crate now vendored in the kernel, we can remove our custom
> > `quote!` macro implementation and just rely on that crate instead.
> >
> > The `quote` crate uses types from the `proc-macro2` library so we also
> > update to use that, and perform conversion in the top-level lib.rs.
> >
> > Signed-off-by: Gary Guo <gary@garyguo.net>
>
> Reviewed-by: Benno Lossin <lossin@kernel.org>

Reviewed-by: Tamir Duberstein <tamird@gmail.com>