Re: [PATCH v8] rust: add new macro for common bitflag operations
From: Miguel Ojeda
Date: Thu Jan 15 2026 - 14:03:55 EST
On Thu, Jan 15, 2026 at 2:45 PM Daniel Almeida
<daniel.almeida@xxxxxxxxxxxxx> wrote:
>
> The flags may be in your uapi or they may otherwise come from C. In that case
> you’re stuck with a TryFrom or a manual conversion.
>
> I think a generated TryFrom shouldn't hurt. Just my 0.02c.
I would say let's land this patch as-is (with the doc bit I mentioned)
and then we can discuss additions on top independently.
Cheers,
Miguel