Skip to content

Commit

Permalink
pnpm i lila-stockfish-web and get 50% more stack FREE!
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg committed Feb 21, 2025
1 parent 78de913 commit 5f9e86d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def makefile(target, sources, flags, link_flags):
--pre-js=../../src/initModule.js -sEXIT_RUNTIME -sEXPORT_ES6 -sEXPORT_NAME={mod_name(target)} \\
-sEXPORTED_FUNCTIONS='[_malloc,_main]' -sEXPORTED_RUNTIME_METHODS='[stringToUTF8,UTF8ToString,HEAPU8]' \\
-sINCOMING_MODULE_JS_API='[locateFile,print,printErr,wasmMemory,buffer,instantiateWasm]' \\
-sINITIAL_MEMORY=64MB -sALLOW_MEMORY_GROWTH -sSTACK_SIZE=2MB -sSTRICT -sPROXY_TO_PTHREAD \\
-sINITIAL_MEMORY=64MB -sALLOW_MEMORY_GROWTH -sSTACK_SIZE=3MB -sSTRICT -sPROXY_TO_PTHREAD \\
-sALLOW_BLOCKING_ON_MAIN_THREAD=0 -Wno-pthreads-mem-growth
SRCS = {sources}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lila-stockfish-web",
"version": "0.0.8",
"version": "0.0.9",
"author": "T-bone Duplexus",
"license": "AGPL-3.0-or-later",
"type": "module",
Expand Down

0 comments on commit 5f9e86d

Please sign in to comment.