aboutsummaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorWedson Almeida Filho <[email protected]>2024-03-27 22:35:56 -0300
committerMiguel Ojeda <[email protected]>2024-04-16 22:03:14 +0200
commit11795ae4cc430192fb9aee2c1142e313cbce3ec5 (patch)
treeab3acecefc90ec67679ac44da8158133b412ed93 /rust/kernel
parent03989773a94490383b062912feb0c4d175f20845 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
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};