linux-next/rust/kernel/alloc
Danilo Krummrich 392e34b6bc kbuild: rust: remove the alloc crate and GlobalAlloc
Now that we have our own `Allocator`, `Box` and `Vec` types we can remove
Rust's `alloc` crate and the `new_uninit` unstable feature.

Also remove `Kmalloc`'s `GlobalAlloc` implementation -- we can't remove
this in a separate patch, since the `alloc` crate requires a
`#[global_allocator]` to set, that implements `GlobalAlloc`.

Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20241004154149.93856-29-dakr@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-10-15 23:10:32 +02:00
..
allocator_test.rs rust: alloc: implement Cmalloc in module allocator_test 2024-10-15 23:10:32 +02:00
allocator.rs kbuild: rust: remove the alloc crate and GlobalAlloc 2024-10-15 23:10:32 +02:00
kbox.rs rust: alloc: implement kernel Box 2024-10-15 22:56:59 +02:00
kvec.rs rust: alloc: implement collect for IntoIter 2024-10-15 23:10:32 +02:00
layout.rs rust: alloc: introduce ArrayLayout 2024-10-15 22:56:59 +02:00