Skip to main content

PROFILE

Constant PROFILE 

Source
pub const PROFILE: &str = "wasm-release";
Expand description

The cargo profile every wasm build of this repository uses, defined in the workspace manifest: release’s settings at a size-oriented opt-level, the trade-off the name keeps from the wasm-dev it was renamed from — wasm builds are only ever made for a browser to download, so none of them pay for the larger binary --release produces.