From e7ef7d59479412c62999c619cf5d3256245bfa44 Mon Sep 17 00:00:00 2001 From: zjp Date: Tue, 30 Sep 2025 11:19:36 +0800 Subject: [PATCH] ostd: remove dead buddy_system_allocator dependency cc https://github.com/asterinas/asterinas/issues/2480#issuecomment-3349718870 --- Cargo.lock | 7 ------- ostd/Cargo.toml | 1 - 2 files changed, 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 83deb63eb..30d93884c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -422,12 +422,6 @@ dependencies = [ "wyz", ] -[[package]] -name = "buddy_system_allocator" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7913f22349ffcfc6ca0ca9a656ec26cfbba538ed49c31a273dff2c5d1ea83d9" - [[package]] name = "bytemuck" version = "1.23.0" @@ -1308,7 +1302,6 @@ dependencies = [ "bit_field", "bitflags 1.3.2", "bitvec", - "buddy_system_allocator", "cfg-if", "fdt", "gimli 0.28.1", diff --git a/ostd/Cargo.toml b/ostd/Cargo.toml index 54b5c3311..c5636cc93 100644 --- a/ostd/Cargo.toml +++ b/ostd/Cargo.toml @@ -18,7 +18,6 @@ targets = ["x86_64-unknown-none"] [dependencies] align_ext = { path = "libs/align_ext", version = "0.1.0" } bit_field = "0.10.1" -buddy_system_allocator = { version = "0.10", default-features = false, features = ["alloc"] } bitflags = "1.3" cfg-if = "1.0" gimli = { version = "0.28", default-features = false, features = ["read-core"] }