On Fri, May 30, 2025 at 11:51 PM Lyude Paul <ly...@redhat.com> 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/20250423192857.199712-6-fujita.tomon...@gmail.com/

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

Reply via email to