On Fri, May 30, 2025 at 11:51 PM Lyude Paul <[email protected]> wrote:
>
> JFYI: You can actually just say Result here, since () is the default type for
> the kernel's Result type
+1
> TBH - we should really add some safe bindings for sleeps instead of calling
> this unsafely, I'd be happy to review them if you do
In case it helps, there is:
https://lore.kernel.org/rust-for-linux/[email protected]/
I think that is the last one -- we have been going back and forth a
bit on it (e.g. we had `coarse_sleep()` in the old `rust` pre-merge
branch), but, yeah, let's try to get the abstraction(s) in.
Cheers,
Miguel