Kaynağa Gözat

chore: 更新loongArch64依赖版本至0.2.5 (#1151)

将loongArch64依赖从git版本切换为crates.io注册表版本0.2.5,

Signed-off-by: longjin <longjin@DragonOS.org>
LoGin 1 gün önce
ebeveyn
işleme
5e87c41d96
2 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 4 3
      kernel/Cargo.lock
  2. 1 1
      kernel/Cargo.toml

+ 4 - 3
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]]

+ 1 - 1
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]