error one
error:linking with 'x86_64-w64-mingw32-gcc'failed:exit code:1
When I was just learning block chain, our teacher asked us to use the rust language, and then I encountered this error during the compilation process . Baidu has not had this error for a long time.- As a result, you only need to use this command in cmd
rustup toolchain install stable-x86_64-pc-windows-gnu
error two
- When using the rust language to write code in vscode
unresolved import rand
, the result is that you only need tocargo.html
add one to the fileversion =2018
or change the ' version ' after the equal sign to the ' 2018 ' version