RUST 를 시작해보자

Rust DEVELOPMENT IT

요새 자의 타의에 의해 이것저것 많이 접하게 된다.

설치

curl https://rs.rustup.rs -sSf | sh

터미널 재시작 or

. $HOME/.cargo/env

업데이트

rustup update

삭제

rustup self uninstall

로컬 문서 서버 실행

rustup doc

러스트 컴파일

rustc filename.rs

코드 포매팅 (linting)

rustfmt filename.rs

기타

러스트의 들여쓰기는 tab이 아닌 들여쓰기 4개.
println! => println! 매크로를 호출한다. 매크로란 무엇인가~? (차후 링크)