mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 07:46:30 +00:00
feat(mm): 添加slab内存分配器 (#683)
feat(mm): 添加slab内存分配器 --------- Co-authored-by: longjin <longjin@DragonOS.org>
This commit is contained in:
16
kernel/crates/rust-slabmalloc/Cargo.toml
Normal file
16
kernel/crates/rust-slabmalloc/Cargo.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "slabmalloc"
|
||||
version = "0.11.0"
|
||||
edition = "2018"
|
||||
|
||||
[features]
|
||||
unstable = []
|
||||
default = [ "unstable" ]
|
||||
|
||||
[dependencies]
|
||||
log = "0.4"
|
||||
|
||||
[target.'cfg(unix)'.dev-dependencies]
|
||||
rand = "0.8"
|
||||
env_logger = "0.9"
|
||||
spin = "0.9.8"
|
Reference in New Issue
Block a user