Re: [PATCH v2 0/6] rust: io: turn IoCapable into a functional trait

Daniel Almeida
2026-02-12T14:41:19Z

> On 12 Feb 2026, at 09:29, Alexandre Courbot <acourbot@nvidia.com> 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