Re: [PATCH v6 2/3] rust: io: mem: add a generic iomem abstraction
From: Miguel Ojeda
Date: Thu Feb 06 2025 - 10:58:42 EST
On Thu, Feb 6, 2025 at 4:43 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> This compilation failure is correct. You're trying to use writeb even
> though the size is not known at compile time. You should use
> try_writeb instead.
Agreed, in the issue I replied that `ioremap_resource()` returns a
runtime-checked `IoMem`. Perhaps the `rust_build_error` part is being
confusing here.
Cheers,
Miguel