위와 같은 에러가 발생하였을 때 해결 방법.
위와 같이 cargo run
명령을 수행했을 때 link.exe
를 찾을 수 없다는 에러가 발생하였다.
Windows OS에 rust를 설치하고 나서 첫 cargo run
인데..
아래와 같은 방법으로 해결하였다.
$ powershell
$ rustup toolchain install stable-x86_64-pc-windows-gnu
$ rustup default stable-x86_64-pc-windows-gnu
$ cargo run
출처:
> Stack overflow - Unable to compile Rust hello world on Windows: linker link.exe not found
덕분에 해결됐습니다 감사합니다