Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
6.4.0
-
None
-
WebAssembly
Description
I want to use synchronous fetches of the emscripten fetch api.When I set the compilation parameters according to the document prompts, the compilation will report an error.
Compile parameters:
QMAKE_LFLAGS += -s FETCH=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH=1 -s PTHREAD_POOL_SIZE_STRICT=0 -s PTHREAD_POOL_SIZE=100 -s DETERMINISTIC=1 --profiling-funcs -g -s USE_PTHREADS=1 --proxy-to-worker
Modify the compilation parameters and compile according to the above prompts. The following error occurs.
Compile parameters:
QMAKE_LFLAGS += -s FETCH=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH=1 -s PTHREAD_POOL_SIZE_STRICT=0 -s PTHREAD_POOL_SIZE=100 -s DETERMINISTIC=1 --profiling-funcs -g -s USE_PTHREADS=1 --proxy-to-worker -s MODULARIZE=0
Modify the compilation parameters according to the above prompts and compile. The compilation passes, but the following error occurs during access.
Compile parameters:
QMAKE_LFLAGS += -s FETCH=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH=1 -s PTHREAD_POOL_SIZE_STRICT=0 -s PTHREAD_POOL_SIZE=100 -s DETERMINISTIC=1 --profiling-funcs -g -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1 -s MODULARIZE=0