From 02463ff161d8293f3b3f24e399c39600e55cb7bb Mon Sep 17 00:00:00 2001 From: Zhang Junyang Date: Mon, 12 May 2025 15:17:53 +0800 Subject: [PATCH] Bump xmas-elf --- Cargo.lock | 19 +++++-------------- kernel/Cargo.toml | 2 +- ostd/libs/linux-bzimage/builder/Cargo.toml | 2 +- ostd/libs/linux-bzimage/setup/Cargo.toml | 2 +- 4 files changed, 8 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 29c2eb624..afb9dff44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -230,7 +230,7 @@ dependencies = [ "typeflags", "typeflags-util", "xarray", - "xmas-elf 0.8.0", + "xmas-elf", ] [[package]] @@ -1052,7 +1052,7 @@ dependencies = [ "bytemuck", "libflate", "serde", - "xmas-elf 0.9.1", + "xmas-elf", ] [[package]] @@ -1068,7 +1068,7 @@ dependencies = [ "uart_16550", "uefi", "uefi-raw", - "xmas-elf 0.9.1", + "xmas-elf", ] [[package]] @@ -1985,18 +1985,9 @@ dependencies = [ [[package]] name = "xmas-elf" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d29b4d8e7beaceb4e77447ba941a7600d23d0319ab52da0461abea214832d5a" -dependencies = [ - "zero", -] - -[[package]] -name = "xmas-elf" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42c49817e78342f7f30a181573d82ff55b88a35f86ccaf07fc64b3008f56d1c6" +checksum = "18245fcbb8b3de8dd198ce7944fdd4096986fd6cd306b0fcfa27df817bd545d6" dependencies = [ "zero", ] diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index f8319450c..cca82e4af 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -39,7 +39,7 @@ paste = "1.0" time = { version = "0.3", default-features = false, features = ["alloc"] } # parse elf file -xmas-elf = "0.8.0" +xmas-elf = "0.10.0" # data-structures bitflags = "1.3" keyable-arc = { path = "libs/keyable-arc" } diff --git a/ostd/libs/linux-bzimage/builder/Cargo.toml b/ostd/libs/linux-bzimage/builder/Cargo.toml index 66f98a80a..73be5223f 100644 --- a/ostd/libs/linux-bzimage/builder/Cargo.toml +++ b/ostd/libs/linux-bzimage/builder/Cargo.toml @@ -14,7 +14,7 @@ bitflags = "1.3" bytemuck = { version = "1.17.0", features = ["derive"] } libflate = "2.1.0" serde = { version = "1.0.192", features = ["derive"] } -xmas-elf = "0.9.1" +xmas-elf = "0.10.0" [lints] workspace = true diff --git a/ostd/libs/linux-bzimage/setup/Cargo.toml b/ostd/libs/linux-bzimage/setup/Cargo.toml index c24cdd4e1..ce8735b1a 100644 --- a/ostd/libs/linux-bzimage/setup/Cargo.toml +++ b/ostd/libs/linux-bzimage/setup/Cargo.toml @@ -18,7 +18,7 @@ core2 = { version = "0.4.0", default-features = false, features = ["nightly"] } libflate = { version = "2.1.0", default-features = false } linux-boot-params = { version = "0.14.1", path = "../boot-params" } uart_16550 = "0.3.0" -xmas-elf = "0.9.1" +xmas-elf = "0.10.0" [target.x86_64-unknown-none.dependencies] log = "0.4.20"