Re: [PATCH v3 05/25] rust: alloc: add module `allocator_test`

Alice Ryhl
2024-08-01T08:41:48Z

On Thu, Aug 1, 2024 at 2:07 AM Danilo Krummrich <dakr@kernel.org> wrote:
>
> `Allocator`s, such as `Kmalloc`, will be used by e.g. `Box` and `Vec` in
> subsequent patches, and hence this dependency propagates throughout the
> whole kernel.
>
> Add the `allocator_test` module that provides an empty implementation
> for all `Allocator`s in the kernel, such that we don't break the
> `rusttest` make target in subsequent patches.
>
> Signed-off-by: Danilo Krummrich <dakr@kernel.org>

Ah, yes, the rusttest target ...

Reviewed-by: Alice Ryhl <aliceryhl@google.com>