mirror of
https://github.com/storytold/figcraft.git
synced 2026-12-04 19:41:51 -05:00
64eddf7c84
With the video cut in, the packaged web wasm was 27,093,194 bytes against the 26,214,400 limit. Two build-only changes bring it to 25,924,835 bytes (289,565 under): - packaging/web/package.sh builds the wasm with -Zlocation-detail=none (RUSTC_BOOTSTRAP=1 for that one build, so the stable toolchain takes the flag): about 0.6 MB less. Panics and log lines from the browser build no longer name a file and line. - apps/figcraft-web/index.html gives wasm-opt --low-memory-unused, --zero-filled-memory, --reorder-functions and --const-hoisting: about 0.6 MB less.