bartholomews / trpl

Exercises from `The Rust Programming Language`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Rust Programming Language


Exercises from The Book

Getting started

rustc --version # check version
rustup update
rustup doc # open local docs

Cargo

cargo --version
cargo new my_project
rustc main.rs # create an executable in the current directory
cargo build  # create an executable in target/debug/main
carbo build --release # build with optimizations
cargo run # compile and run the executable
cargo check # compile without producing the executable

About

Exercises from `The Rust Programming Language`


Languages

Language:Rust 100.0%