diff options
author | Onur Özkan <work@onurozkan.dev> | 2025-07-20 12:48:38 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-08-15 19:58:51 +0200 |
commit | f87de6919dc126f22c7b5bf92e378f0346f190a8 (patch) | |
tree | 98435aea654d10293448f2bad8dc64d156770f16 /rust/kernel/alloc/allocator.rs | |
parent | 8d3e8057eeadab134a71d6a495d6f1b6818144fe (diff) |
rust: make `kvec::Vec` functions `const fn`
Makes various `kvec::Vec` functions `const fn`
to allow compile-time evaluation.
Signed-off-by: Onur Özkan <work@onurozkan.dev>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://lore.kernel.org/r/20250720094838.29530-4-work@onurozkan.dev
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/allocator.rs')
0 files changed, 0 insertions, 0 deletions