[wasm] Bump emscripten to 3.1.34 (#83998)
authorRadek Doulik <radek.doulik@gmail.com>
Mon, 17 Apr 2023 16:12:51 +0000 (18:12 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Apr 2023 16:12:51 +0000 (18:12 +0200)
commitdbd42332f91d08e0b149931e22bd70a4f5215945
treeb2f9d5615b0fe904e0ea9b6546fd9c65e4cc665e
parent636682c9ca5f9e7c38950399b9e00488062ef19d
[wasm] Bump emscripten to 3.1.34 (#83998)

* [wasm] Bump emscripten to 3.1.34

* Update emsdk deps

* Update icu deps

* Use new images

* Use emscripten_main_runtime_thread_id

* Ignore ExitStatus exceptions

This should fix these errors:

    [wasm test] [23:10:04] dbug: Reached wasm exit
    [wasm test] [23:10:04] info: node:internal/process/promises:246
    [wasm test] [23:10:04] info:           triggerUncaughtException(err, true /* fromPromise */);
    [wasm test] [23:10:04] info:           ^
    [wasm test] [23:10:04] info:
    [wasm test] [23:10:04] info: [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<ExitStatus>".] {
    [wasm test] [23:10:04] info:   code: 'ERR_UNHANDLED_REJECTION'
    [wasm test] [23:10:04] info: }
    [wasm test] [23:10:04] info:
    [wasm test] [23:10:04] info: Node.js v17.3.1
    [wasm test] [23:10:04] info: Process node.exe exited with 1

* Handle UnhandledPromiseRejection for ExitStatus

* Exclude 2 failing tests

* Updade ICU deps

* Revert "Updade ICU deps"

This reverts commit ad92e213c38b339d4ab685c91880d355190334ba.

Looks like main is behind and doesn't work with latest ICU, so go back
to the one with 3.1.34 bump
eng/Version.Details.xml
eng/Versions.props
eng/pipelines/common/templates/pipeline-with-resources.yml
eng/pipelines/libraries/helix-queues-setup.yml
src/mono/mono/utils/mono-threads-wasm.c
src/mono/wasm/Wasm.Build.Tests/data/test-main-7.0.js
src/mono/wasm/emscripten-version.txt
src/mono/wasm/runtime/pthreads/shared/index.ts
src/mono/wasm/test-main.js
src/mono/wasm/wasm.proj
src/tests/issues.targets