安装 Rust-lang
找到 Windows (MSVC ABI †) (.msi)
下载 一步步安装
Hello word
创建 main.rs
fn main() {
println!("Hello, world!");
}
终端运行
F:coding\rust-lang>rustc main.rs
error: could not exec the linker `link.exe`: 系统找不到指定的文件。 (os error 2)
help
第一次接触, Rust 大神在哪里, help me!
安装vs c++,之后再用rustup-init安装一遍,这个时候就能识别link.exe了