mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
rust: remove leftover mentions of the alloc crate
In commit392e34b6bc("kbuild: rust: remove the `alloc` crate and `GlobalAlloc`") we stopped using the upstream `alloc` crate. Thus remove a few leftover mentions treewide. Cc: stable@vger.kernel.org # Also to 6.12.y after the `alloc` backport lands Fixes:392e34b6bc("kbuild: rust: remove the `alloc` crate and `GlobalAlloc`") Reviewed-by: Danilo Krummrich <dakr@kernel.org> Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org> Link: https://lore.kernel.org/r/20250303171030.1081134-1-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
//! - Test code should be able to define functions and call them, without having to carry
|
||||
//! the context.
|
||||
//!
|
||||
//! - Later on, we may want to be able to test non-kernel code (e.g. `core`, `alloc` or
|
||||
//! third-party crates) which likely use the standard library `assert*!` macros.
|
||||
//! - Later on, we may want to be able to test non-kernel code (e.g. `core` or third-party
|
||||
//! crates) which likely use the standard library `assert*!` macros.
|
||||
//!
|
||||
//! For this reason, instead of the passed context, `kunit_get_current_test()` is used instead
|
||||
//! (i.e. `current->kunit_test`).
|
||||
|
||||
Reference in New Issue
Block a user