Re: [PATCH] rust: pin-init: add references to previously initialized fields
From: Benno Lossin
Date: Thu Sep 11 2025 - 17:36:00 EST
On Fri Sep 5, 2025 at 4:00 PM CEST, Benno Lossin wrote:
> After initializing a field in an initializer macro, create a variable
> holding a reference that points at that field. The type is either
> `Pin<&mut T>` or `&mut T` depending on the field's structural pinning
> kind.
>
> Link: https://github.com/Rust-for-Linux/pin-init/pull/83/commits/0f658594c39398f58cd5cb99a8141e370e225e74
> Signed-off-by: Benno Lossin <lossin@xxxxxxxxxx>
Applied to pin-init-next, thanks everyone!
Included the fixes to devres & rust_driver_pci.
---
Cheers,
Benno