From 5e87c41d96186e3fdb4eed50e45cfc097226b4b7 Mon Sep 17 00:00:00 2001 From: LoGin Date: Wed, 7 May 2025 19:00:02 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0loongArch64=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=89=88=E6=9C=AC=E8=87=B30.2.5=20(#1151)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将loongArch64依赖从git版本切换为crates.io注册表版本0.2.5, Signed-off-by: longjin --- kernel/Cargo.lock | 7 ++++--- kernel/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/kernel/Cargo.lock b/kernel/Cargo.lock index 0abe0408..6543b899 100644 --- a/kernel/Cargo.lock +++ b/kernel/Cargo.lock @@ -859,11 +859,12 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "loongArch64" -version = "0.2.4" -source = "git+https://github.com/fslongjin/loongArch64?rev=7af150e#7af150e01e7ce3139f519578751c95bbdaf4fb4d" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c9f0d275c70310e2a9d2fc23250c5ac826a73fa828a5f256401f85c5c554283" dependencies = [ "bit_field", - "bitflags 1.3.2", + "bitflags 2.9.0", ] [[package]] diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index ca69ba04..9d5d967e 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -97,7 +97,7 @@ sbi-rt = { version = "=0.0.3", features = ["legacy"] } # target为loongarch64时,使用下面的依赖 [target.'cfg(target_arch = "loongarch64")'.dependencies] -loongArch64 = { git = "https://github.com/fslongjin/loongArch64", rev = "7af150e" } +loongArch64 = "=0.2.5" # 由于unwinding库不支持loongarch64架构,因此需要排除该依赖项 [target.'cfg(not(target_arch = "loongarch64"))'.dependencies]