Re: [PATCH RFC] rust: HrTimerMode replacement with bitfield_options macro
From: Andreas Hindborg
Date: Wed Jan 29 2025 - 06:17:22 EST
"Timothy Garwood via B4 Relay" <devnull+gtimothy-dev.protonmail.com@xxxxxxxxxx> writes:
> From: Timothy Garwood <gtimothy-dev@xxxxxxxxxxxxxx>
>
> replace the HrTimerMode enum with a bitfield wrapper built using the
> bitfield_options macro
>
> ---
> This patch provides an example of usage of the bitfield_options macro
> proposed in [1] as a replacement for the HrTimerMode enum introduced in
> [2].
> [1] is a RFC.
> This patch depends on both [1] and [2]
>
Very cool!
Since `hrtimer` is not upstream yet, if you get a non RFC version ready
before the next `hrtimer` spin, I can put a dependency on that if you
want?
Best regards,
Andreas Hindborg