mirror_ubuntu-kernels/rust/kernel/sync
Wedson Almeida Filho 2c1092853f rust: kernel: remove usage of allocator_api unstable feature
With the adoption of `BoxExt` and `VecExt`, we don't need the functions
provided by this feature (namely the methods prefixed with `try_` and
different allocator per collection instance).

We do need `AllocError`, but we define our own as it is a trivial empty
struct.

Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20240328013603.206764-11-wedsonaf@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-04-16 22:50:04 +02:00
..
arc rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast() 2023-04-10 23:55:43 +02:00
lock rust: init: update init module to take allocation flags 2024-04-16 22:50:04 +02:00
arc.rs rust: kernel: remove usage of allocator_api unstable feature 2024-04-16 22:50:04 +02:00
condvar.rs rust: init: update init module to take allocation flags 2024-04-16 22:50:04 +02:00
lock.rs rust: kernel: add doclinks 2024-02-18 21:22:27 +01:00
locked_by.rs rust: locked_by: shorten doclink preview 2024-02-18 21:22:27 +01:00