diff options
author | Wedson Almeida Filho <[email protected]> | 2024-03-27 22:36:03 -0300 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-04-16 22:50:04 +0200 |
commit | 2c1092853f163762ef0aabc551a630ef233e1be3 (patch) | |
tree | d49d456fdfd45916303181e188956f1f9e8d9bef /lib/memory-notifier-error-inject.c | |
parent | c34aa00d1d7dd482dc48660ad594cb693334de2d (diff) |
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 <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions