diff --git a/src/Makefile b/src/Makefile index a9f0512a..66dbdcba 100644 --- a/src/Makefile +++ b/src/Makefile @@ -44,6 +44,8 @@ COPT += -O3 -DNDEBUG endif JSFLAGS += -s ASYNCIFY +# We can hit lower values due to user stack use. See stack_size.py example. +JSFLAGS += -s ASYNCIFY_STACK_SIZE=262144 JSFLAGS += -s EXIT_RUNTIME JSFLAGS += -s MODULARIZE=1 JSFLAGS += -s EXPORT_NAME=createModule diff --git a/src/demo.html b/src/demo.html index 5889f7cf..83dabe83 100644 --- a/src/demo.html +++ b/src/demo.html @@ -100,6 +100,7 @@