Table of Contents
Rust Cargo 사용법
Cargo 는 패키지 빌드 시스템이고 또한 프로젝트 관리툴이기도 합니다.
프로젝트 생성
--bin
은 binary 파일을 생성한다는 의미입니다.
cargo new hello --bin
cd hello
빌드
cargo build
실행하기
target/debug/hello
Cargo 는 패키지 빌드 시스템이고 또한 프로젝트 관리툴이기도 합니다.
--bin
은 binary 파일을 생성한다는 의미입니다.
cargo new hello --bin
cd hello
cargo build
target/debug/hello