Re: [PATCH v5] rust: kernel: add support for bits/genmask macros

Miguel Ojeda
2025-05-22T08:37:22Z

On Thu, May 22, 2025 at 10:23 AM Alexandre Courbot <acourbot@nvidia.com> wrote:
>
> Like everything else in this module. :)

I meant it in the sense that using `build_assert!` means one cannot
compile down a "concrete implementation" because the value wouldn't be
able to be checked (so it needs to use generics or otherwise be marked
as `#[inline]`).

Cheers,
Miguel