[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DA78E05ZANKN.1U1GZRIBC163K@kernel.org>
Date: Tue, 27 May 2025 22:38:40 +0200
From: "Benno Lossin" <lossin@...nel.org>
To: "Miguel Ojeda" <miguel.ojeda.sandonis@...il.com>
Cc: "Jesung Yang" <y.j3ms.n@...il.com>, "Brendan Higgins"
<brendan.higgins@...ux.dev>, "David Gow" <davidgow@...gle.com>, "Rae Moar"
<rmoar@...gle.com>, "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>, "Andreas Hindborg" <a.hindborg@...nel.org>,
"Alice Ryhl" <aliceryhl@...gle.com>, "Trevor Gross" <tmgross@...ch.edu>,
"Danilo Krummrich" <dakr@...nel.org>, <linux-kselftest@...r.kernel.org>,
<kunit-dev@...glegroups.com>, <rust-for-linux@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] rust: kunit: use crate-level mapping for `c_void`
On Tue May 27, 2025 at 3:51 PM CEST, Miguel Ojeda wrote:
> On Tue, May 27, 2025 at 2:06 PM Benno Lossin <lossin@...nel.org> wrote:
>>
>> We don't need to explicitly import it, as `c_void` is present in the
>> prelude since 3d5bef5d47c3 ("rust: add C FFI types to the prelude").
>
> Hmm... But the prelude isn't there yet in this patch, no? i.e. our
> prelude is (so far) not a "real prelude" that gets injected
> automatically. So I guess you mean importing the prelude instead.
Ah right it's only auto-imported in the doctests. Forgot that, would be
nice if it could be :)
> (It is imported in the KUnit series anyway, so it will llikely be
> there either way)
Oh yeah, it's in rust-next already :)
---
Cheers,
Benno
Powered by blists - more mailing lists