Closed tiffany352 closed 3 months ago
default-features=false
opt-level="z"
All these changes combined, the CLI binary goes from 10.7 megabytes (or 8.7 manually stripped) to 5.4 megabytes.
The wasm binary is unaffected, still around 2.3 megabytes.
default-features=false
where applicableopt-level="z"
and enable LTO for release builds.All these changes combined, the CLI binary goes from 10.7 megabytes (or 8.7 manually stripped) to 5.4 megabytes.
The wasm binary is unaffected, still around 2.3 megabytes.