Re: [PATCH v6 2/5] rust: make Owned::into_raw() and Owned::from_raw() public

From: Alice Ryhl
Date: Mon Mar 10 2025 - 05:51:16 EST


On Mon, Mar 10, 2025 at 08:49:50AM +0000, Oliver Mangold wrote:
> It might be necessary to be used from some drivers containing C code like,
> e.g. binder. It basically is needed for every implementation of an Ownable
> outside of the kernel crate. Also the examples for OwnableRefCounted need
> it.
>
> Signed-off-by: Oliver Mangold <oliver.mangold@xxxxx>

I would probably just fold this into the previous patch.

Alice