https://github.com/python/cpython/commit/10e308c53c009f2e25ac6f037653015239125c00
commit: 10e308c53c009f2e25ac6f037653015239125c00
branch: main
author: Hood Chatham <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2026-09-22T09:52:53+08:00
summary:

gh-145177: Update to Emscripten 6.0.10 (#157935)

Bump the Emscripten version, and drop the use of -sWASM_BIGINT because it's on
by default now and Emscripten has started warning that the setting is
deprecated.

files:
M Platforms/emscripten/config.toml
M configure
M configure.ac

diff --git a/Platforms/emscripten/config.toml b/Platforms/emscripten/config.toml
index 513b5ae25fc497d..45b57e731661298 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.9"
+emscripten-version = "6.0.10"
 node-version = "24"
 test-args = [
     "-m", "test",
diff --git a/configure b/configure
index 9af81bf7cc67d1d..809885af1cd20d6 100755
--- a/configure
+++ b/configure
@@ -9974,8 +9974,6 @@ fi
 
         as_fn_append LINKFORSHARED " -sALLOW_MEMORY_GROWTH 
-sINITIAL_MEMORY=20971520"
 
-        as_fn_append LDFLAGS_NODIST " -sWASM_BIGINT"
-
         as_fn_append LINKFORSHARED " -sFORCE_FILESYSTEM -lidbfs.js -lnodefs.js 
-lproxyfs.js -lworkerfs.js"
     as_fn_append LINKFORSHARED " 
-sEXPORTED_RUNTIME_METHODS=FS,callMain,ENV,HEAPU32,TTY,ERRNO_CODES"
     as_fn_append LINKFORSHARED " 
-sEXPORTED_FUNCTIONS=_main,_Py_Version,_PyGILState_GetThisThreadState,__PyEM_EMSCRIPTEN_TRAMPOLINE_OFFSET"
diff --git a/configure.ac b/configure.ac
index 92d7c17a6b448ba..8e5377a8f0ac754 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2434,9 +2434,6 @@ AS_CASE([$ac_sys_system],
     dnl Start with 20 MB and allow to grow
     AS_VAR_APPEND([LINKFORSHARED], [" -sALLOW_MEMORY_GROWTH 
-sINITIAL_MEMORY=20971520"])
 
-    dnl map int64_t and uint64_t to JS bigint
-    AS_VAR_APPEND([LDFLAGS_NODIST], [" -sWASM_BIGINT"])
-
     dnl Include file system support
     AS_VAR_APPEND([LINKFORSHARED], [" -sFORCE_FILESYSTEM -lidbfs.js 
-lnodefs.js -lproxyfs.js -lworkerfs.js"])
     AS_VAR_APPEND([LINKFORSHARED], [" 
-sEXPORTED_RUNTIME_METHODS=FS,callMain,ENV,HEAPU32,TTY,ERRNO_CODES"])

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to