「Windows11」Rustバージョンを確認する方法

環境

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
エディション Windows 11 Pro
バージョン 21H2
システムの種類 64bit
エディション Windows 11 Pro バージョン 21H2 システムの種類 64bit
エディション Windows 11 Pro
バージョン 21H2
システムの種類 64bit

操作方法
1.バージョンを確認します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
C:\study\rust> rustc -V
rustc 1.62.1 (e092d0b6b 2022-07-16)
C:\study\rust> rustc -V rustc 1.62.1 (e092d0b6b 2022-07-16)
C:\study\rust> rustc -V
rustc 1.62.1 (e092d0b6b 2022-07-16)

2.Rustのビルドツールおよびパッケージ管理ツール[cargo]のバージョンを確認します。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
C:\study\rust>cargo -V
cargo 1.62.1 (a748cf5a3 2022-06-08)
C:\study\rust>cargo -V cargo 1.62.1 (a748cf5a3 2022-06-08)
C:\study\rust>cargo -V
cargo 1.62.1 (a748cf5a3 2022-06-08)

3.管理ツール「rustup」のバージョンを確認します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
C:\study\rust>rustup -V
rustup 1.25.1 (bb60b1e89 2022-07-12)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.62.1 (e092d0b6b 2022-07-16)`
C:\study\rust>rustup -V rustup 1.25.1 (bb60b1e89 2022-07-12) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active `rustc` version is `rustc 1.62.1 (e092d0b6b 2022-07-16)`
C:\study\rust>rustup -V
rustup 1.25.1 (bb60b1e89 2022-07-12)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.62.1 (e092d0b6b 2022-07-16)`

 

Rust

Posted by arkgame