mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-06 18:57:06 +00:00
a2c1633fe3
wasm32 cannot allocate a Vec of 2 GiB (isize::MAX is one byte less), so the open check that only rejected a larger file trapped on that boundary. Refuse 2 GiB as well, and say so in the failure the host receives. Co-authored-by: Cursor <cursoragent@cursor.com>