Re: [PATCH v4 28/28] kbuild: rust: remove the `alloc` crate

From: Benno Lossin
Date: Thu Aug 08 2024 - 05:46:25 EST


On 05.08.24 17:19, Danilo Krummrich wrote:
> Now that we have our own `Allocator`, `Box` and `Vec` types we can remove
> Rust's `alloc` crate and the corresponding unstable features.

Should this patch also remove `alloc` from
`scripts/generate_rust_analyzer`?
Or do we need that when editing our `macros` crate (since it depends on
std)?

---
Cheers,
Benno

>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> ---
> rust/Makefile | 44 ++++++++++--------------------------------
> rust/exports.c | 1 -
> scripts/Makefile.build | 7 +------
> 3 files changed, 11 insertions(+), 41 deletions(-)