From 1366e8ffa5beaef324d14e1e2bfb0063a5efa2c5 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 14 May 2026 18:17:45 -0700 Subject: [PATCH] Fix `other.test_closure_webgpu_wasm64` This was broken by #26954 but not covered by CI because we run the `other` testsuite with the emsdk version of node that doesn't support wasm64. --- .circleci/config.yml | 1 + src/lib/libpromise.js | 1 + test/codesize/test_codesize_hello_dylink_all.json | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7ff8653919873..773eb53b542a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1081,6 +1081,7 @@ jobs: other.test_min_node_version other.test_node_emscripten_num_logical_cores other.test_js_base64_api + other.test_closure_webgpu_wasm64 core2.test_hello_world core2.test_pthread_create core2.test_i64_invoke_bigint diff --git a/src/lib/libpromise.js b/src/lib/libpromise.js index f621feff1a9b3..35a5700c2925c 100644 --- a/src/lib/libpromise.js +++ b/src/lib/libpromise.js @@ -274,6 +274,7 @@ addToLibrary({ }, emscripten_promise_await_unchecked: (id) => { abort('emscripten_promise_await_unchecked is only available with ASYNCIFY'); + return 0; }, #endif }); diff --git a/test/codesize/test_codesize_hello_dylink_all.json b/test/codesize/test_codesize_hello_dylink_all.json index 2396913d860d1..463c046cd6b9b 100644 --- a/test/codesize/test_codesize_hello_dylink_all.json +++ b/test/codesize/test_codesize_hello_dylink_all.json @@ -1,7 +1,7 @@ { - "a.out.js": 268222, + "a.out.js": 268231, "a.out.nodebug.wasm": 587563, - "total": 855785, + "total": 855794, "sent": [ "IMG_Init", "IMG_Load",