On 9/30/2025 10:45 AM, Joel Fernandes wrote:
> Previously, bitfields were hardcoded to use u32 as the underlying
> storage type. Add support for different storage types (u8, u16, u32,
> u64) to the bitfield macro.
>
> New syntax is: struct Name: <type ex., u32> { ... }
Apologies for not updating this commit message, the syntax is:
struct Name(<type ex., u32>) { ... }
thanks,
- Joel
- Re: [PATCH v5 6/9] rust: bitfield: Add KUNIT te... Joel Fernandes
- Re: [PATCH v5 6/9] rust: bitfield: Add KUNI... Alexandre Courbot
- Re: [PATCH v5 6/9] rust: bitfield: Add ... Joel Fernandes
- Re: [PATCH v5 6/9] rust: bitfield:... Joel Fernandes
- [PATCH v5 7/9] rust: bitfield: Use 'as' operator for set... Joel Fernandes
- [PATCH v5 4/9] rust: Move register and bitfield macros o... Joel Fernandes
- [PATCH v5 8/9] rust: bitfield: Add hardening for out of ... Joel Fernandes
- Re: [PATCH v5 8/9] rust: bitfield: Add hardening fo... Joel Fernandes
- [PATCH v5 2/9] nova-core: bitfield: Add support for diff... Joel Fernandes
- Re: [PATCH v5 2/9] nova-core: bitfield: Add support... Alexandre Courbot
- Re: [PATCH v5 2/9] nova-core: bitfield: Add support... Joel Fernandes
- [PATCH v5 9/9] rust: bitfield: Add hardening for undefin... Joel Fernandes
- Re: [PATCH v5 0/9] Introduce bitfield and move register ... Danilo Krummrich
