浏览代码

readme: add minimum Rust version

Fixes to https://github.com/rustsbi/rustsbi/issues/22
luojia65 3 年之前
父节点
当前提交
07247bbfa2
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      README.md

+ 6 - 2
README.md

@@ -20,13 +20,17 @@ cargo build --target riscv64imac-unknown-none-elf
 The build should finish without any errors.
 The build should finish without any errors.
 
 
 If you see any error like `invalid register a0: unknown register`, it's likely that you cross built this project
 If you see any error like `invalid register a0: unknown register`, it's likely that you cross built this project
-into platforms other than RISC-V. RustSBI adapts to RISC-V SBI interface, you may cross build this project
-into any bare metal RISC-V platform targets.
+into platforms other than RISC-V. RustSBI adapts to RISC-V SBI interface, so you may cross build this project
+into any bare metal RISC-V platform targets instead.
 
 
 The target platform of RustSBI is usually a bare metal target. Under normal circumstances these targets in Rust
 The target platform of RustSBI is usually a bare metal target. Under normal circumstances these targets in Rust
 would start with `riscv??-` and end with `-none-elf`. If a non bare metal target is built to, it would throw
 would start with `riscv??-` and end with `-none-elf`. If a non bare metal target is built to, it would throw
 build error in `riscv` dependency crate or RustSBI library itself.
 build error in `riscv` dependency crate or RustSBI library itself.
 
 
+## Minimum supported Rust version
+
+To compile this project, you may need at least nightly Rust version of `rustc 1.59.0-nightly (c5ecc1570 2021-12-15)`.
+
 ## Binary downloads
 ## Binary downloads
 
 
 RustSBI is provided with separate library and binary projects, this is the repository for RustSBI library. 
 RustSBI is provided with separate library and binary projects, this is the repository for RustSBI library.