docker run --rm -v $(pwd):/src emscripten/emsdk \
bash -c "em++ main.cpp  \
-sEXPORT_NAME=testWasm -DEXPORT_NAME=testWasm \
-I / \
-std=c++11 -O3 -ffast-math -fno-exceptions -fno-rtti \
--pre-js pre.js --closure 0 \
-Wall -Wextra -Wfatal-errors -Wpedantic -pedantic-errors \
-sSINGLE_FILE=1 -sMODULARIZE -sENVIRONMENT=web,worker,shell -sNO_EXIT_RUNTIME=1 \
-sFILESYSTEM=0 -sEXPORTED_RUNTIME_METHODS=HEAP8,UTF8ToString \
-sINITIAL_MEMORY=512kb -sALLOW_MEMORY_GROWTH=1 -sMEMORY_GROWTH_GEOMETRIC_STEP=0.5 -sABORTING_MALLOC=1 \
-sSTRICT=1 -sDYNAMIC_EXECUTION=0"