Skip to main content

RELEASE_PROFILE

Constant RELEASE_PROFILE 

Source
pub const RELEASE_PROFILE: &str = "codegen-units = 1\nlto = true\nstrip = true\n";
Expand description

What the [profile.release] of every generated crate sets: link-time optimization across all crates in one code generation unit, and programs without a symbol table. Packages ship release builds, and this keeps the command line and the MCP server beside an app small; debug builds keep Cargo’s defaults.