diff --git a/lib/binding_web/exports.json b/lib/binding_web/exports.json index b51a4cb3..55f52e96 100644 --- a/lib/binding_web/exports.json +++ b/lib/binding_web/exports.json @@ -5,7 +5,6 @@ "_realloc", "__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm", - "__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv", "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm", "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm", "__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm", diff --git a/script/build-wasm b/script/build-wasm index 19c7aa13..12852583 100755 --- a/script/build-wasm +++ b/script/build-wasm @@ -89,6 +89,7 @@ $emcc \ -s NODEJS_CATCH_REJECTION=0 \ -s EXPORTED_FUNCTIONS=@${web_dir}/exports.json \ $emscripten_flags \ + -fno-exceptions \ -std=c99 \ -D 'fprintf(...)=' \ -D NDEBUG= \ diff --git a/script/fetch-emscripten b/script/fetch-emscripten index 4b579df0..6f352840 100755 --- a/script/fetch-emscripten +++ b/script/fetch-emscripten @@ -20,15 +20,15 @@ EMSDK_DIR="./target/emsdk" git pull ./emsdk list - echo 'Installing latest emscripten...' + echo 'Installing emscripten...' ./emsdk install $EMSCRIPTEN_VERSION - echo 'Activating latest emscripten...' + echo 'Activating emscripten...' ./emsdk activate $EMSCRIPTEN_VERSION ) >&2 ( source "$EMSDK_DIR/emsdk_env.sh" > /dev/null emcc --version >&2 - declare -px + echo export $(env | egrep '^(PATH|EM.*)') )