Re: [PATCH 16/22] rust: pin-init: add `std` and `alloc` support from the user-space version

From: Fiona Behrens
Date: Wed Mar 05 2025 - 04:32:58 EST


Benno Lossin <benno.lossin@xxxxxxxxx> writes:

> To synchronize the kernel's version of pin-init with the user-space
> version, introduce support for `std` and `alloc`. While the kernel uses
> neither, the user-space version has to support both. Thus include the
> required `#[cfg]`s and additional code.
>
> Signed-off-by: Benno Lossin <benno.lossin@xxxxxxxxx>

Reviewed-by: Fiona Behrens <me@xxxxxxxxxx>