Skip to content

Glossary: Rust Basics

cargo build

Also written: cargo build --release

Compiles your project without running it. Adding `--release` builds a faster, optimized version in `target/release`.

Where the book teaches it

Related terms

cargo runRelease build