IT
Rust Quick Start - Hello, World!
紫紅
2023. 2. 15. 23:38
반응형
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # cargo(rust) 명령어 설치
# 터미널 재시작하기Restart Terminal
cargo new hello_world # 새 프로젝트 생성
cd hello_world # 프로젝트 루트 디렉터리로 이동
cargo build # rust 프로젝트 컴파일
./target/debug/hello_world # 빌드된 파일 실행해보기
Hello, world!
참 쉽죠?
반응형