Rust
ナビゲーションに移動
検索に移動
Rust
Install
Uninstall
- rustup self uninstall
Mac
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Rustの開発環境において、全てのツールは~/.cargo/binディレクトリにインストールされるため、PATHを通す
開発
パッケージの生成
- $ cargo new --bin hello
実行
- $ cd hello
- $ cargo run
- Compiling hello v0.1.0 (/Users/hirotoyagi/Workspaces/rust/lesson/hello)
- Finished dev [unoptimized + debuginfo] target(s) in 7.21s
- Running `target/debug/hello`
- Hello, world!
クリーン
- $ cargo clean
© 2006 矢木浩人