From 54f5311907d66a4c35ea5d250714973a04a7fd30 Mon Sep 17 00:00:00 2001 From: Jie Yang 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 --- 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