mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 11:16:56 -04:00
`cargo xtask wasm` (part of `cargo xtask ci`) checked the wasm-safe crates but not apps/vectorcraft-web, so web-only code was never compiled before a merge. It now runs `cargo check --target wasm32-unknown-unknown -p vectorcraft-web` too (no Trunk, no network). The SVG importer's cap on the web was 48, sized from native measurements. rustc links the web build with a 1 MiB stack (`-z stack-size=1048576`; the app passes no linker arguments of its own) and usvg uses about 15 kB a level: half the stack at that cost gives 34, set in one place with the arithmetic.