Re: [PATCH v2 2/6] rust: io: Support copying arrays and slices

From: Danilo Krummrich

Date: Tue Feb 03 2026 - 10:57:58 EST


On Tue Feb 3, 2026 at 4:46 PM CET, Matthew Maurer wrote:
> Adds support for doing array copies of data in and out of IO regions.
> Fixed size arrays allow for compile-time bound checking, while slice
> arguments allow for dynamically checked copies.
>
> Signed-off-by: Matthew Maurer <mmaurer@xxxxxxxxxx>

This patch needs to go on top of the recent I/O rework and should be generalized
through an IoSlice type [1].

[1] https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/topic/Generic.20I.2FO.20backends/with/571639597