mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-22 12:30:19 +00:00
Update build_web.sh
This commit is contained in:
parent
7efcbb136e
commit
0c6ac6287d
@ -9,6 +9,6 @@ SRC=$(find src/ -name "*.c")
|
||||
|
||||
emcc $SRC -Iinclude/ -s -Os \
|
||||
-sEXPORTED_FUNCTIONS=_py_initialize,_py_exec,_py_finalize,_py_printexc,_py_clearexc \
|
||||
-sEXPORTED_RUNTIME_METHODS=ccall \
|
||||
-sEXPORTED_RUNTIME_METHODS="['ccall','cwrap','_emscripten_stack_get_current']"
|
||||
-sALLOW_MEMORY_GROWTH=1 \
|
||||
-o web/lib/pocketpy.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user