Emscripten: set ALLOW_MEMORY_GROWTH to 1

This commit is contained in:
Syping 2023-01-05 15:46:57 +01:00
parent 95943203e0
commit 54912a63ab
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#[[**************************************************************************
* libragephoto RAGE Photo Parser
* Copyright (C) 2021-2022 Syping
* Copyright (C) 2021-2023 Syping
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
@ -136,6 +136,7 @@ if (EMSCRIPTEN)
"SHELL:-O3"
"SHELL:--no-entry"
"SHELL:-s WASM=1"
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
"SHELL:-s EXPORTED_FUNCTIONS=_free"
"SHELL:-s EXPORTED_RUNTIME_METHODS=ccall,cwrap"
)