浏览代码

fix(prototyper): specify `serde-device-tree` commit id to resolve prototyper compilation error

Signed-off-by: guttatus <[email protected]>
guttatus 3 周之前
父节点
当前提交
6fa9e20055
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      prototyper/bench-kernel/Cargo.toml
  2. 1 1
      prototyper/prototyper/Cargo.toml

+ 1 - 1
prototyper/bench-kernel/Cargo.toml

@@ -11,7 +11,7 @@ publish = false
 [dependencies]
 sbi-testing = { path = "../../library/sbi-testing", features = ["log"] }
 sbi-spec = { version = "0.0.8", path = "../../library/sbi-spec" }
-serde-device-tree = { git = "https://github.com/rustsbi/serde-device-tree", default-features = false }
+serde-device-tree = { git = "https://github.com/rustsbi/serde-device-tree", rev= "e7f9404f", default-features = false }
 serde = { version = "1.0.202", default-features = false, features = ["derive"] }
 log = "0.4"
 riscv = "0.12.1"

+ 1 - 1
prototyper/prototyper/Cargo.toml

@@ -20,7 +20,7 @@ rustsbi = { version = "0.4.0", features = ["machine"], path = "../../library/rus
 sbi-spec = { version = "0.0.8", features = ["legacy"], path = "../../library/sbi-spec" }
 serde = { version = "1.0.202", default-features = false, features = ["derive"] }
 fast-trap = { version = "0.1.0",  features = ["riscv-m"] }
-serde-device-tree = { git = "https://github.com/rustsbi/serde-device-tree", default-features = false }
+serde-device-tree = { git = "https://github.com/rustsbi/serde-device-tree", rev = "e7f9404f",  default-features = false }
 uart_xilinx = { git = "https://github.com/duskmoon314/uart-rs/" }
 xuantie-riscv = { git= "https://github.com/rustsbi/xuantie" }
 bouffalo-hal = { git = "https://github.com/rustsbi/bouffalo-hal", rev = "968b949", features = ["bl808"] }