first:
rustup toolchain install stable-x86_64-pc-windows-gnu
then:
rustup default stable-x86_64-pc-windows-gnu
end:
cargo build
Compiling hello v0.1.0 (C:\Users\leke\dev\rust\hello)
Finished dev [unoptimized + debuginfo] target(s) in 1.66s
ok~~
更多解决方案:
https://stackoverflow.com/questions/40504552/how-to-install-visual-c-build-tools
如果对你有用,点赞收藏哦~
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)