[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DFQRURCFSDK1.1AJU43WLGBXK2@kernel.org>
Date: Sat, 17 Jan 2026 10:54:25 +0100
From: "Benno Lossin" <lossin@...nel.org>
To: "Benno Lossin" <lossin@...nel.org>, "Miguel Ojeda" <ojeda@...nel.org>,
"Boqun Feng" <boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>, "Andreas
Hindborg" <a.hindborg@...nel.org>, "Alice Ryhl" <aliceryhl@...gle.com>,
"Trevor Gross" <tmgross@...ch.edu>, "Danilo Krummrich" <dakr@...nel.org>,
"Fiona Behrens" <me@...enk.dev>, "Christian Schrefl"
<chrisi.schrefl@...il.com>
Cc: "Oleksandr Babak" <alexanderbabak@...ton.me>,
<rust-for-linux@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] rust: pin-init: Implement `InPlaceWrite<T>` for
`&'static mut MaybeUninit<T>`
On Thu Jan 8, 2026 at 1:43 PM CET, Benno Lossin wrote:
> From: Oleksandr Babak <alexanderbabak@...ton.me>
>
> 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@...ton.me>
> Link: https://crates.io/crates/static_cell [1]
> [ Added link to `static_cell` - Benno ]
> Signed-off-by: Benno Lossin <lossin@...nel.org>
> ---
> 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
Powered by blists - more mailing lists