Re: [PATCH v2 0/6] rust: io: turn IoCapable into a functional trait
From: Daniel Almeida
Date: Thu Feb 12 2026 - 09:48:14 EST
> On 12 Feb 2026, at 09:29, Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>
> On Sat Feb 7, 2026 at 4:48 AM JST, lyude wrote:
>> A thought that crossed my mind just now with this patch series while I
>> was working on converting iosys_map over to it: shouldn't we have some
>> unit tests for confirming runtime bounds checking works as well?
>
> I guess we would need a mock I/O type for that - is that what you had in
> mind, or did I miss your idea?
>
This is probably yet another use case for the “system memory” backend we’ve been discussing recently.
— Daniel