rust: make various `alloc` functions `const fn`
Status from this message: Applied to alloc-next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rust: make `allocator::aligned_size` a `const fn`rust/ | +1 | 1 reply | |
| 2/3 | rust: make `ArrayLayout::new_unchecked` a `const fn`rust/ | +1 | 0 replies | |
| 3/3 | rust: make `kvec::Vec` functions `const fn`rust/ | +5 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Benno Lossin | Alice Ryhl |
|---|---|---|
| Series | R-b | R-b |
| 1/3 | ||
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/3] rust: make various `alloc` functions `const fn`
This patch series makes various functions in thealloc 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