error: linker 'link.exe' not found 오류

Kurt·2023년 9월 16일
0

[Rust Language]

목록 보기
24/24
post-thumbnail

위와 같은 에러가 발생하였을 때 해결 방법.

Windows에서 Rust 작업 중 에러

위와 같이 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

profile
내 인생이라는 프로젝트의 최고 버전을 만들기 위해

1개의 댓글

comment-user-thumbnail
2024년 1월 9일

덕분에 해결됐습니다 감사합니다

답글 달기