stratovirt/0004-docs-build_guide-Update-suggested-rustc-version.patch
Jie Yang 0d693da885 Update version to 2.1.0-2
Signed-off-by: Jie Yang <yangjieyj.yang@huawei.com>
(cherry picked from commit c7db0977213860987bf1883895ee02025e0aa3c6)
2022-02-19 09:03:04 +08:00

60 lines
1.9 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 54f5311907d66a4c35ea5d250714973a04a7fd30 Mon Sep 17 00:00:00 2001
From: Jie Yang <yangjieyj.yang@huawei.com>
Date: Thu, 17 Feb 2022 21:59:29 +0800
Subject: [PATCH 4/5] docs/build_guide: Update suggested rustc version
Signed-off-by: Jie Yang <yangjieyj.yang@huawei.com>
---
docs/build_guide.ch.md | 4 ++--
docs/build_guide.md | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/build_guide.ch.md b/docs/build_guide.ch.md
index c4eba88..ac9d466 100644
--- a/docs/build_guide.ch.md
+++ b/docs/build_guide.ch.md
@@ -4,11 +4,11 @@
## 1. 检查Rust构建环境
为了构建StratoVirt需保证已经安装了Rust语言环境和Cargo软件。
-rustc的推荐版本为1.45.2及其之后的版本。
+rustc的推荐版本为1.51.0及其之后的版本, 否则编译可能失败。
```shell
$ rustc --version
-rustc 1.45.2
+rustc 1.51.0
```
如果你想部署rust环境下面的链接可以帮助你
diff --git a/docs/build_guide.md b/docs/build_guide.md
index fd3e3d1..3d7320e 100644
--- a/docs/build_guide.md
+++ b/docs/build_guide.md
@@ -4,11 +4,11 @@
## 1. Check Rust environment
To build StratoVirt, make sure that Rust language environment and Cargo have already been installed.
- The recommended version of rustc is 1.45.2 or later.
+The recommended version of rustc is 1.51.0 or later, otherwise compilation may be failed.
```shell
$ rustc --version
-rustc 1.45.2
+rustc 1.51.0
```
If you want to deploy rust environment, the following link will help you:
@@ -32,7 +32,7 @@ Now you can find StratoVirt binary file in `target/${arch}-unknown-linux-gnu/rel
## 3. Build with musl-libc
-StratoVirt can also be built using musl-libc toolchains. By this way, StratoVirt is linked statically
+StratoVirt can also be built using musl-libc toolchains. By this way, StratoVirt is linked statically
and has no library dependencies.
```shell
--
2.25.1