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

相關文章
相關標籤/搜索