mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-84461: Build Emscripten with WASM BigInt support (#94219)
This commit is contained in:
parent
51fd4de101
commit
e69306f08b
3 changed files with 8 additions and 1 deletions
|
|
@ -2028,6 +2028,9 @@ AS_CASE([$ac_sys_system],
|
|||
dnl Start with 20 MB and allow to grow
|
||||
AS_VAR_APPEND([LDFLAGS_NODIST], [" -sALLOW_MEMORY_GROWTH -sTOTAL_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([LDFLAGS_NODIST], [" -sFORCE_FILESYSTEM -lidbfs.js -lnodefs.js -lproxyfs.js -lworkerfs.js"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue