From: Hood Chatham Date: Sun, 19 Jul 2026 22:17:04 +0000 (+0200) Subject: gh-145177: Upgrade to Emscripten 6.0.3 (#154029) X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=51de91dbb076985d7c656f6a57919846f2556bb7;p=thirdparty%2FPython%2Fcpython.git gh-145177: Upgrade to Emscripten 6.0.3 (#154029) --- diff --git a/Platforms/emscripten/config.toml b/Platforms/emscripten/config.toml index 0c65a6623c97..5e4f80b28a41 100644 --- a/Platforms/emscripten/config.toml +++ b/Platforms/emscripten/config.toml @@ -1,7 +1,7 @@ # Any data that can vary between Python versions is to be kept in this file. # This allows for blanket copying of the Emscripten build code between supported # Python versions. -emscripten-version = "6.0.2" +emscripten-version = "6.0.3" node-version = "24" test-args = [ "-m", "test", diff --git a/configure b/configure index 0fc2b0e819a1..b7ba4994b30e 100755 --- a/configure +++ b/configure @@ -9807,7 +9807,6 @@ fi as_fn_append LINKFORSHARED " -sEXPORTED_FUNCTIONS=_main,_Py_Version,__PyRuntime,_PyGILState_GetThisThreadState,__PyEM_EMSCRIPTEN_TRAMPOLINE_OFFSET" as_fn_append LINKFORSHARED " -sSTACK_SIZE=5MB" as_fn_append LINKFORSHARED " -sTEXTDECODER=2" - as_fn_append LINKFORSHARED " -sGROWABLE_ARRAYBUFFERS=0" if test "x$enable_wasm_dynamic_linking" = xyes then : diff --git a/configure.ac b/configure.ac index 980ed2af50b1..5e98a4f91c8d 100644 --- a/configure.ac +++ b/configure.ac @@ -2410,8 +2410,6 @@ AS_CASE([$ac_sys_system], AS_VAR_APPEND([LINKFORSHARED], [" -sSTACK_SIZE=5MB"]) dnl Avoid bugs in JS fallback string decoding path AS_VAR_APPEND([LINKFORSHARED], [" -sTEXTDECODER=2"]) - dnl workaround for emscripten#27241, can remove when we update to emscripten 6.0.3 - AS_VAR_APPEND([LINKFORSHARED], [" -sGROWABLE_ARRAYBUFFERS=0"]) AS_VAR_IF([enable_wasm_dynamic_linking], [yes], [ AS_VAR_APPEND([LINKFORSHARED], [" -sMAIN_MODULE"])