Skip to content

Latest commit

History

History
39 lines (27 loc) 路 493 Bytes

rust.md

File metadata and controls

39 lines (27 loc) 路 493 Bytes

Rust

# Linux or macOS
curl https://sh.rustup.rs -sSf | sh

# update and uninstall
rustup update
rustup self uninstall

# rust version
# rustc x.y.z (abcabcabc yyyy-mm-dd)
rustc --version

# doc
rustup doc

Cargo

# cargo verison
cargo --version

# help information
# create a new cargo package at <path>
cargo new --help

cargo build

# building for release
cargo build --release

cargo run

cargo check