Skip to content

Glossary: Rust in Practice

codegen-units

A release-profile setting. Setting it to 1 compiles the crate as one unit, giving slower builds but sometimes faster code.

Where the book teaches it

Related terms

release profilelto (link-time optimization)