rust环境配置

安装curl

经过 rustup 下载 Rust,这是一个管理 Rust 版本和相关工具的命令行工具工具

在 Linux 上安装 rustup
$ curl https://sh.rustup.rs -sSf | shui

检查rustc安装版本url

$ rustc --version
rustc 1.46.0 (04488afe3 2020-08-24)命令行

使用cargo
cargo new hello
cargo run
cargo build
cargo checkcode

相关文章
相关标签/搜索