Re: [PATCH v4 11/28] rust: alloc: remove `BoxExt` extension

From: Benno Lossin
Date: Thu Aug 08 2024 - 02:48:31 EST


On 05.08.24 17:19, Danilo Krummrich wrote:
> Now that all existing `Box` users were moved to the kernel `Box` type,
> remove the `BoxExt` extension.

In the changes below you also remove the `new_uninit` feature, the
`impl InPlaceInit for Box` and the `impl ForeignOwnable for Box` but
don't mention it here.

---
Cheers,
Benno

> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> ---
> rust/kernel/alloc.rs | 1 -
> rust/kernel/alloc/box_ext.rs | 56 ------------------------------------
> rust/kernel/init.rs | 34 +---------------------
> rust/kernel/lib.rs | 1 -
> rust/kernel/prelude.rs | 4 +--
> rust/kernel/types.rs | 23 ---------------
> 6 files changed, 3 insertions(+), 116 deletions(-)
> delete mode 100644 rust/kernel/alloc/box_ext.rs