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

Benno Lossin
2024-08-08T09:46:03Z

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@kernel.org>
> ---
> rust/Makefile | 44 ++++++++++--------------------------------
> rust/exports.c | 1 -
> scripts/Makefile.build | 7 +------
> 3 files changed, 11 insertions(+), 41 deletions(-)