Skip to content

Glossary: Software Design Patterns in Rust

rustc

Also written: rustup, --edition 2021

The Rust compiler, installed by rustup. Compiling a file with `rustc --edition 2021 -O file.rs` needs the edition flag, because plain `rustc` assumes the old 2015 edition.

Where the book teaches it

Related terms

cargo