docs: Update the rust version in the installation documentation

Rust version in the installation documentation does not match the
requirements. Just fix it.

Fixes: #5841

Signed-off-by: Chen Yiyang <cyyzero@qq.com>
This commit is contained in:
Chen Yiyang 2022-12-06 12:50:32 +08:00
parent 8246de821f
commit 46b38458af
No known key found for this signature in database
GPG Key ID: 3AD367267E88C841

View File

@ -49,14 +49,14 @@ Follow the [`kata-deploy`](../../tools/packaging/kata-deploy/README.md).
* Download `Rustup` and install `Rust` * Download `Rustup` and install `Rust`
> **Notes:** > **Notes:**
> Rust version 1.58 is needed > Rust version 1.62.0 is needed
Example for `x86_64` Example for `x86_64`
``` ```
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ source $HOME/.cargo/env $ source $HOME/.cargo/env
$ rustup install 1.58 $ rustup install 1.62.0
$ rustup default 1.58-x86_64-unknown-linux-gnu $ rustup default 1.62.0-x86_64-unknown-linux-gnu
``` ```
* Musl support for fully static binary * Musl support for fully static binary