프로그래밍/Rust
[Rust] 러스트 설치하기 - Windows
이내내
2023. 7. 24. 00:53
Windows 에서 Rust 설치하기
1. https://www.rust-lang.org/en-US/install.html 에서 rustup 다운로드
업데이트
명령 프롬프트 창에서
$ rustup update
삭제
$ rustup self uninstall
버전 확인
$ rustc --version
2. 에디터 설정하기
(vscode 를 사용하는 경우라고 가정)
1) rust-analyzer 설치
2) 디버깅 툴 설치
- C/C++ - microsoft
- CodeLLDB
3. 프로젝트 생성
$ cargo new hello_cargo --bin
$ cd hello_cargo
--bin 옵션은 바이너리 파일을 생성하는 옵션