看到基于Windows的比较少,这里是Rust在windows下使用Win 10 + Visual Studio Code配置Rust开发环境
使用 Rustup安装Rust
Rust 由工具 rustup 安装和管理。
所以这里下载安装器
点击安装器,会出现如下的命令行界面
Rust Visual C++ prerequisites
Rust requires the Microsoft C++ build tools for Visual Studio 2013 or
later, but they don't seem to be installed.
The easiest way to acquire the build tools is by installing Microsoft
Visual C++ Build Tools 2019 which provides just the Visual C++ build
tools:
https://visualstudio.microsoft.com/visual-cpp-build-tools/
Please ensure the Windows 10 SDK and the English language pack components
are included when installing the Visual C++ Build Tools.
Alternately, you can install Visual Studio