[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ-ks9=Q53FX=5TdLoYnM3pgtDo23nHjFy7e7B=-02-U0vZ+Qw@mail.gmail.com>
Date: Sun, 4 Jan 2026 08:35:44 -0500
From: Tamir Duberstein <tamird@...il.com>
To: Gary Guo <gary@...yguo.net>
Cc: Miguel Ojeda <ojeda@...nel.org>, Boqun Feng <boqun.feng@...il.com>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, Fiona Behrens <me@...enk.dev>,
Christian Schrefl <chrisi.schrefl@...il.com>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 01/11] rust: pin-init: internal: remove proc-macro[2] and
quote workarounds
On Thu, Dec 11, 2025 at 2:28 PM Gary Guo <gary@...nel.org> wrote:
>
> From: Benno Lossin <lossin@...nel.org>
>
> The kernel only had the `proc-macro` library available, whereas the
> user-space version also used `proc-macro2` and `quote`. Now both are
> available to the kernel, making it possible to remove the workarounds.
>
> Signed-off-by: Benno Lossin <lossin@...nel.org>
> Co-developed-by: Gary Guo <gary@...yguo.net>
> Signed-off-by: Gary Guo <gary@...yguo.net>
This adds a dependency edge from pin-init-internal to syn, but syn is
not actually used in pin-init or pin-init-internal.
There's a comment in rust/pin-init/src/macros.rs that suggests syn
might be used in the future, but as of this comment this is a dead
dependency edge.
Cheers.
Tamir
Powered by blists - more mailing lists