美文网首页
window 系统 Rust 语言 cargo build 配置

window 系统 Rust 语言 cargo build 配置

作者: 陈鲁勇 | 来源:发表于2021-12-11 07:43 被阅读0次
PS E:\git\code\local\local> cargo build
   Compiling local v0.1.0 (E:\git\code\local\local)
error: linker `link.exe` not found
  |
  = note: 系统找不到指定的文件。 (os error 2)

note: the msvc targets depend on the msvc linker but `link.exe` was not found

note: please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 was installed with the Visual C++ option

error: could not compile `local` due to previous error
rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnu
cargo build

相关文章

网友评论

      本文标题:window 系统 Rust 语言 cargo build 配置

      本文链接:https://www.haomeiwen.com/subject/xmfkfrtx.html