Re: [PATCH v1 0/3] rust: make various `alloc` functions `const fn`
From: Alice Ryhl
Date: Mon Jul 21 2025 - 07:32:05 EST
On Sun, Jul 20, 2025 at 12:48:35PM +0300, Onur Özkan wrote:
> This patch series makes various functions in the
> `alloc` crate const fn.
>
> Each patch corresponds to a different module within
> the same `alloc` crate.
>
> Onur Özkan (3):
> rust: make `allocator::aligned_size` a `const fn`
> rust: make `ArrayLayout::new_unchecked` a `const fn`
> rust: make `kvec::Vec` functions `const fn`
>
> rust/kernel/alloc/allocator.rs | 2 +-
> rust/kernel/alloc/kvec.rs | 10 +++++-----
> rust/kernel/alloc/layout.rs | 2 +-
> 3 files changed, 7 insertions(+), 7 deletions(-)
>
> --
> 2.50.0
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>