Emscripten: set ALLOW_MEMORY_GROWTH to 1
This commit is contained in:
parent
95943203e0
commit
54912a63ab
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#[[**************************************************************************
|
#[[**************************************************************************
|
||||||
* libragephoto RAGE Photo Parser
|
* 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,
|
* Redistribution and use in source and binary forms, with or without modification,
|
||||||
* are permitted provided that the following conditions are met:
|
* are permitted provided that the following conditions are met:
|
||||||
|
@ -136,6 +136,7 @@ if (EMSCRIPTEN)
|
||||||
"SHELL:-O3"
|
"SHELL:-O3"
|
||||||
"SHELL:--no-entry"
|
"SHELL:--no-entry"
|
||||||
"SHELL:-s WASM=1"
|
"SHELL:-s WASM=1"
|
||||||
|
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
|
||||||
"SHELL:-s EXPORTED_FUNCTIONS=_free"
|
"SHELL:-s EXPORTED_FUNCTIONS=_free"
|
||||||
"SHELL:-s EXPORTED_RUNTIME_METHODS=ccall,cwrap"
|
"SHELL:-s EXPORTED_RUNTIME_METHODS=ccall,cwrap"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue