diff options
author | 2024-03-27 22:35:56 -0300 | |
---|---|---|
committer | 2024-04-16 22:03:14 +0200 | |
commit | 11795ae4cc430192fb9aee2c1142e313cbce3ec5 (patch) | |
tree | ab3acecefc90ec67679ac44da8158133b412ed93 /rust/kernel | |
parent | rust: alloc: introduce the `VecExt` trait (diff) | |
download | linux-11795ae4cc430192fb9aee2c1142e313cbce3ec5.tar.gz linux-11795ae4cc430192fb9aee2c1142e313cbce3ec5.tar.bz2 linux-11795ae4cc430192fb9aee2c1142e313cbce3ec5.zip |
kbuild: use the upstream `alloc` crate
Switch away from our fork of the `alloc` crate. We remove it altogether
in the next commit.
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20240328013603.206764-4-wedsonaf@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel')
-rw-r--r-- | rust/kernel/str.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/str.rs b/rust/kernel/str.rs index a15ae90feed7..14ef4344cf6e 100644 --- a/rust/kernel/str.rs +++ b/rust/kernel/str.rs @@ -2,6 +2,7 @@ //! String representations. +use crate::alloc::vec_ext::VecExt; use alloc::alloc::AllocError; use alloc::vec::Vec; use core::fmt::{self, Write}; |