From 3472289ec3d6a5d55d57637c515d36d58579d45a Mon Sep 17 00:00:00 2001 From: emscripten-bot <179889221+emscripten-bot@users.noreply.github.com> Date: Wed, 29 Apr 2026 16:55:56 +0000 Subject: [PATCH 1/2] Release 5.0.7 --- bazel/MODULE.bazel | 2 +- bazel/revisions.bzl | 8 ++++++++ emscripten-releases-tags.json | 4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bazel/MODULE.bazel b/bazel/MODULE.bazel index b77c19702b..496ac021e2 100644 --- a/bazel/MODULE.bazel +++ b/bazel/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "emsdk", - version = "5.0.6", + version = "5.0.7", ) bazel_dep(name = "platforms", version = "1.0.0") diff --git a/bazel/revisions.bzl b/bazel/revisions.bzl index 0563846798..a47000aadd 100644 --- a/bazel/revisions.bzl +++ b/bazel/revisions.bzl @@ -2,6 +2,14 @@ # DO NOT MODIFY EMSCRIPTEN_TAGS = { + "5.0.7": struct( + hash = "6cd98e86d7749ff98b82b7f2ae78eb4f01942788", + sha_linux = "f96cc4df9263e386d70ad37c731959886cb2a7e983b7a68bdc9ccf32402be1bd", + sha_linux_arm64 = "3cd706f3c97bc9e2abc9898c66ed15988243d189194623a4fb02ec207dc48693", + sha_mac = "0ccd510ae3e1014ffc565de482982507d1c2d3d6dc6f5bf243e857c73bd5d352", + sha_mac_arm64 = "37554ed4c36abb1c802aa280f2c1ef9702e19e832a66c2fe6d940b65a2049b2c", + sha_win = "32995a98db21951cb7e84b4898b235ba57553c9f35eeaa158cfff052fab83856", + ), "5.0.6": struct( hash = "1724b50443d92e23ef2a56abf0dc501206839cef", sha_linux = "5688561ef52f981f2a3a939b783e6bdcfbb8487ae947a7d0aa6da4efc805dedd", diff --git a/emscripten-releases-tags.json b/emscripten-releases-tags.json index d595853e2d..154613f0b1 100644 --- a/emscripten-releases-tags.json +++ b/emscripten-releases-tags.json @@ -1,6 +1,6 @@ { "aliases": { - "latest": "5.0.6", + "latest": "5.0.7", "latest-sdk": "latest", "latest-arm64-linux": "latest", "latest-64bit": "latest", @@ -10,6 +10,8 @@ "latest-releases-upstream": "latest" }, "releases": { + "5.0.7": "6cd98e86d7749ff98b82b7f2ae78eb4f01942788", + "5.0.7-asserts": "8f07fe77a9ba5f112a6f0582c2920979582a8682", "5.0.6": "1724b50443d92e23ef2a56abf0dc501206839cef", "5.0.6-asserts": "0c7bd161f8f9a773e48e1a0afe0cfe59c684e247", "5.0.5": "6eae703422b3962d1ed75e15f728ece57aad6bd6", From 960a56696eca7c744a833c3520d5d7c8c03da1b5 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 29 Apr 2026 13:20:38 -0700 Subject: [PATCH 2/2] fix crtbegin --- bazel/README.md | 1 - bazel/test_secondary_lto_cache/MODULE.bazel | 1 - bazel/test_secondary_lto_cache/MODULE.bazel.lock | 1 - test/test_bazel.sh | 7 +++++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bazel/README.md b/bazel/README.md index b53e6ece4e..cc4121eb0b 100644 --- a/bazel/README.md +++ b/bazel/README.md @@ -74,7 +74,6 @@ emscripten_cache = use_extension( ) emscripten_cache.configuration(flags = ["--lto"]) emscripten_cache.targets(targets = [ - "crtbegin", "libprintf_long_double-debug", "libstubs-debug", "libnoexit", diff --git a/bazel/test_secondary_lto_cache/MODULE.bazel b/bazel/test_secondary_lto_cache/MODULE.bazel index c61dafca38..dea9968388 100644 --- a/bazel/test_secondary_lto_cache/MODULE.bazel +++ b/bazel/test_secondary_lto_cache/MODULE.bazel @@ -11,7 +11,6 @@ emscripten_cache = use_extension( ) emscripten_cache.configuration(flags = ["--lto"]) emscripten_cache.targets(targets = [ - "crtbegin", "libprintf_long_double-debug", "libstubs-debug", "libnoexit", diff --git a/bazel/test_secondary_lto_cache/MODULE.bazel.lock b/bazel/test_secondary_lto_cache/MODULE.bazel.lock index 86bfce282e..fd75f870fe 100644 --- a/bazel/test_secondary_lto_cache/MODULE.bazel.lock +++ b/bazel/test_secondary_lto_cache/MODULE.bazel.lock @@ -183,7 +183,6 @@ "--lto" ], "targets": [ - "crtbegin", "libprintf_long_double-debug", "libstubs-debug", "libnoexit", diff --git a/test/test_bazel.sh b/test/test_bazel.sh index 682866fd53..7a1d7a2876 100755 --- a/test/test_bazel.sh +++ b/test/test_bazel.sh @@ -19,10 +19,11 @@ grep ${HASH} bazel/revisions.bzl || (echo ${FAILMSG} && false) grep ${VER} bazel/MODULE.bazel || (echo ${FAILMSG} && false) cd bazel + bazel build //hello-world:hello-world-wasm bazel build //hello-world:hello-world-wasm-simd -cd test_external +pushd test_external bazel build //:hello-world-wasm bazel build //long_command_line:long_command_line_wasm bazel build //:hello-embind-wasm --compilation_mode dbg # debug @@ -31,6 +32,8 @@ bazel build //:hello-embind-wasm --compilation_mode dbg # debug bazel build //:hello-embind-wasm --compilation_mode opt # release # This function should not be minified if the externs file is loaded correctly. grep "customJSFunctionToTestClosure" bazel-bin/hello-embind-wasm/hello-embind.js +popd -cd ../test_secondary_lto_cache +pushd test_secondary_lto_cache bazel build //:hello-world-wasm +popd