Study/Rust (2) 썸네일형 리스트형 [Rust] Cargo 명령어 1. cargo build $ cargo build Compiling hello_cargo v0.1.0 (file:///projects/hello_cargo) Finished dev [unoptimized + debuginfo] target(s) in 2.85 secs 2. cargo run $ cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs Running `target/debug/hello_cargo` Hello, world! 3. cargo check $ cargo check Checking hello_cargo v0.1.0 (file:///projects/hello_cargo) Finished dev [unoptimize.. [Rust] Rust 설치 및 Cargo 프로젝트 생성 (Ubuntu 20.04 LTS) LLVM 기반 symbolic executor "haybale"이 Rust 기반이라 Rust를 다루게 되었다. Rust를 공부하면서 내용을 간단히 포스팅하려고 한다. 1. Rust 설치 [Rust 설치 및 버전 확인] $ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh $ rustc --version 2. Cargo Cargo : Rust의 build system과 package manager 역할 : 코드 빌드, 라이브러리 다운로드, 라이브러리 빌드 등 Rust를 설치할 때 함께 설치되어 따로 설치하지 않아도 무방하다. [Cargo 버전 확인] $ cargo --version [Creating a Project with Cargo] $ c.. 이전 1 다음