浏览代码

fix: marchid, mimpid registers in base extension

luojia65 2 年之前
父节点
当前提交
9000003fcb
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Cargo.toml

+ 3 - 1
Cargo.toml

@@ -16,7 +16,9 @@ categories = ["os", "embedded", "hardware-support", "no-std"]
 edition = "2021"
 
 [dependencies]
-riscv = "0.8"
+riscv = { git = "[email protected]:rust-embedded/riscv.git", commit = "e38a68d" }
+# todo: change to a release version when the fix is released
+# riscv = "0.8"
 sbi-spec = "0.0.2"
 
 [features]