Re: [PATCH 1/1] rust: pin-init: Implement `InPlaceWrite<T>` for `&'static mut MaybeUninit<T>`

From: Benno Lossin

Date: Sat Jan 17 2026 - 04:54:30 EST


On Thu Jan 8, 2026 at 1:43 PM CET, Benno Lossin wrote:
> From: Oleksandr Babak <alexanderbabak@xxxxxxxxx>
>
> This feature allows users to use `&'static mut MaybeUninit<T>` as a
> place to initialize the value. It mirrors an existing implemetation
> for `Box<MaybeUninit>`, but enables users to use external allocation
> mechanisms such as `static_cell` [1].
>
> Signed-off-by: Oleksandr Babak <alexanderbabak@xxxxxxxxx>
> Link: https://crates.io/crates/static_cell [1]
> [ Added link to `static_cell` - Benno ]
> Signed-off-by: Benno Lossin <lossin@xxxxxxxxxx>
> ---
> This is the entire pin-init update this cycle. (excluding the syn
> patches, which I will send soon)
> ---
> rust/pin-init/src/lib.rs | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)

Applied to pin-init-next, thanks everyone!

Cheers,
Benno