On Tue May 27, 2025 at 3:51 PM CEST, Miguel Ojeda wrote: > On Tue, May 27, 2025 at 2:06 PM Benno Lossin <los...@kernel.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