Re: [PATCH 0/6] rust: add `bitfield!` and `register!` macros

From: Miguel Ojeda

Date: Tue Jan 20 2026 - 09:57:55 EST


On Tue, Jan 20, 2026 at 3:18 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> Correct, this series came from a misunderstanding, I think Alex plans to follow
> up on it tomorrow.

I see, thanks.

> I think there has been consensus on the register!() macro, so it seems possible.
> But as always, if it works out, great -- if not, that's okay too.

I want to make things easy for everyone, and I know there is pressure
to deliver etc., but yeah... I am supposed to also push back when
things get stretched a bit too much... :)

Having said that, depending on what the "local bitfield!" entails,
i.e. how much of a hack/workaround/extra work it is, it may be best to
avoid it and go directly for `bitfield!`.

But for that to happen, we would need Linus to really do the -rc8, and
very fast agreements and reviews on it.

It seems to me the easiest is that I give you a branch/tag for you
(and others that want it) to merge with the `bitfield!` one next
cycle. That would avoid the workaround too and Alexandre having to
come up with another series etc.

Cheers,
Miguel