Re: [PATCH] rust: kernel: remove support for unused host `#[test]`s
From: Miguel Ojeda
Date: Sat Aug 16 2025 - 17:22:26 EST
On Tue, Jul 29, 2025 at 10:27 AM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> Nice! This should also allow us to remove the Cmalloc allocator subsequently.
Yeah, unless we want to use it in the `macros` crate for an example or
similar -- I didn't include the removal directly here mainly to split
that decision into another step, but given this other issue in
`rusttest` I just sent:
https://lore.kernel.org/rust-for-linux/20250816204215.2719559-1-ojeda@xxxxxxxxxx/
I think it is easiest to just get rid of it (and anyway eventually I
want to run the tests from the macros crate within the kernel too).
I have sent a patch for that here:
https://lore.kernel.org/rust-for-linux/20250816211900.2731720-1-ojeda@xxxxxxxxxx/
Cheers,
Miguel