summaryrefslogtreecommitdiffstats
path: root/rust/kernel
diff options
context:
space:
mode:
authorWedson Almeida Filho <walmeida@microsoft.com>2024-03-27 22:35:56 -0300
committerMiguel Ojeda <ojeda@kernel.org>2024-04-16 22:03:14 +0200
commit11795ae4cc430192fb9aee2c1142e313cbce3ec5 (patch)
treeab3acecefc90ec67679ac44da8158133b412ed93 /rust/kernel
parent03989773a94490383b062912feb0c4d175f20845 (diff)
downloadlinux-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.rs1
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};