Windows11の環境にRustをScoop経由でインストール
バッチ処理が遅いのでRustだったら早くなるかなと試した時の覚書。 Gemini 3 Pro Previewと対話。 環境: Windows 11 Pro 25H2, rustup 1.28.2 1. Scoopで検索してインストール Scoopで検索してみる。 PS:> scoop search rust それぞれの解説 rustup: Rustのインストーラー兼バージョン管理ツール。nodejsでいうところのnvm。 rustup-msvc / rustup-gnu: rustupの内部で使われるABI(Application Binary Interface)の違い。基本的には無印のrustupを選べばOK。 rust: コンパイラ単体 rust-msvc / rust-gnu: 上記のMSVC版(Microsoft Visual C++互換)とGNU版(MinGW互換)。 rust-analyzer: エディタ(VS Codeなど)でコード補完やエラー表示をするための裏方ツール。 rustupをインストール。 PS:> scoop install rustup Notes ----- This package defaults to using the MSVC toolchain in new installs; use "rustup set default-host" to configure it (existing installs may be using the GNU toolchain by default) According to https://doc.rust-lang.org/book/ch01-01-installation.html#installing-rustup-on-windows Microsoft C++ Build Tools is needed and can be downloaded here: https://visualstudio.microsoft.com/visual-cpp-build-tools/ When installing build tools, these two components should be selected:...