Re: [PATCH v8 00/10] rust: add `register!` macro
From: Danilo Krummrich
Date: Tue Mar 10 2026 - 13:24:46 EST
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?