[PATCH v11 1/5] rust: macros: reduce collections in `quote!` macro

Tamir Duberstein tamird at gmail.com
Sun Jun 1 19:42:30 UTC 2025


On Sun, Jun 1, 2025 at 12:24 PM Benno Lossin <lossin at kernel.org> wrote:
>
> On Fri May 30, 2025 at 2:27 PM CEST, Tamir Duberstein wrote:
> > Remove a handful of unncessary intermediate vectors and token streams;
> > mainly the top-level stream can be directly extended with the notable
> > exception of groups.
>
> What's the motivation for this?

I was squinting at the macro to understand how it worked and spotted
these oddities.

> I wouldn't spend much effort on this file, as it'll go away when we add the `quote` crate.

Eh, this seems to be in the "I'll believe it when I see it" category.


More information about the dri-devel mailing list