Skip to content

Glossary: Rust in Practice

release profile

Also written: [profile.release]

The `[profile.release]` section of `Cargo.toml` that tunes the optimizer, with settings like `lto` and `codegen-units`.

Where the book teaches it

Related terms

lto (link-time optimization)codegen-unitsopt-levelpanic = "abort"