Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ rustup set default-host x86_64-pc-windows-gnu

...

Linux/OSX

Linux 나 OSX 에서는 curl 로 rustup-init.sh 를 다운로드 받아서 실행

Code Block
languagebash
curl https://sh.rustup.rs -sSf | sh

...

설치가 완료되면 개발 도구가 설치되는 ~/.cargo/bin 을 PATH 변수에 추가


설치후에 rustc 를 실행해서 확인

Code Block
languagebash
$ rustc --version

rustc 1.54.0 (a178d0322 2021-07-26)

...