Rustのバージョン確認
code:bash
$ cargo --version
cargo 1.36.0 (c4fcfb725 2019-05-15)
$ rustc -V
rustc 1.36.0 (a53f9df32 2019-07-03)
$ rustup -V
rustup 1.18.3 (435397f48 2019-05-22)
$ rustup show
Default host: x86_64-unknown-linux-gnu
stable-x86_64-unknown-linux-gnu (default)
rustc 1.36.0 (a53f9df32 2019-07-03)
stable-x86_64-unknown-linux-gnu (default)
rustc 1.36.0 (a53f9df32 2019-07-03)
rustcがrustのバージョンを表現?
1.XX.YY
基本XXが6週間毎に上がるらしい
raustup showで管理してるrustのバージョン一覧
code: bash
$ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: checking for self-updates
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.36.0 (a53f9df32 2019-07-03)
rustup update で最新状態にupdate(変わらなかったらunchanged)