Re: [PATCH v3 01/13] rust: macros: add `quote!` macro

From: Alice Ryhl
Date: Thu Mar 30 2023 - 09:33:28 EST


On 3/30/23 00:32, y86-dev@xxxxxxxxxxxxxx wrote:
From: Gary Guo <gary@xxxxxxxxxxx>

Add the `quote!` macro for creating `TokenStream`s directly via the
given Rust tokens. It also supports repetitions using iterators.

It will be used by the pin-init API proc-macros to generate code.

Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
Signed-off-by: Benno Lossin <y86-dev@xxxxxxxxxxxxxx>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>