Re: [PATCH v8 00/10] rust: add `register!` macro
From: Alexandre Courbot
Date: Wed Mar 11 2026 - 09:06:30 EST
On Wed Mar 11, 2026 at 2:20 AM JST, Danilo Krummrich wrote:
> On Mon Mar 9, 2026 at 4:13 PM CET, Alexandre Courbot wrote:
>> Alexandre Courbot (10):
>> rust: enable the `generic_arg_infer` feature
>> rust: num: add `shr` and `shl` methods to `Bounded`
>> rust: num: add `into_bool` method to `Bounded`
>> rust: num: make Bounded::get const
>> rust: io: add IoLoc type and generic I/O accessors
>> rust: io: use generic read/write accessors for primitive accesses
>> rust: io: introduce `IntoIoVal` trait and single-argument `write_val`
>> rust: io: add `register!` macro
>> sample: rust: pci: use `register!` macro
>> [FOR REFERENCE] gpu: nova-core: use the kernel `register!` macro
>
> I did not look into the root cause, but fetching this patch series my build
> fails due to a build_assert!(). Maybe you have CONFIG_RUST_BUILD_ASSERT_ALLOW
> enabled?
Nope, it is disabled and I build with Clippy so I am surprised you are
getting this. Do you know which module is failing?