[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87a59zbpqj.fsf@kernel.org>
Date: Wed, 05 Mar 2025 13:56:20 +0100
From: Andreas Hindborg <a.hindborg@...nel.org>
To: "Benno Lossin" <benno.lossin@...ton.me>
Cc: "Miguel Ojeda" <ojeda@...nel.org>, "Alex Gaynor"
<alex.gaynor@...il.com>, "Boqun Feng" <boqun.feng@...il.com>, "Gary Guo"
<gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, "Alice
Ryhl" <aliceryhl@...gle.com>, "Trevor Gross" <tmgross@...ch.edu>,
"Danilo Krummrich" <dakr@...nel.org>, <rust-for-linux@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 18/22] rust: pin-init: internal: synchronize with
user-space version
"Benno Lossin" <benno.lossin@...ton.me> writes:
> This commit synchronizes with the user-space version that uses the
> quote crate [1] instead of a custom `quote!` macro.
> The imports in the different version are achieved using `cfg` on the
> kernel config value. This is always set in the kernel and never set in
> the user-space version.
>
> Since the quote crate requires the proc_macro2 crate, imports also need
> to be adjusted and `.into()` calls have to be inserted.
>
> Link: https://crates.io/crates/quote [1]
> Signed-off-by: Benno Lossin <benno.lossin@...ton.me>
Reviewed-by: Andreas Hindborg <a.hindborg@...nel.org>
Best regards,
Andreas Hindborg
Powered by blists - more mailing lists