diff options
author | Victor Stinner <vstinner@python.org> | 2024-06-17 16:08:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 16:08:05 (GMT) |
commit | 6acf7776ef8e0f08e1d4b4b5511bea8d716f571f (patch) | |
tree | aef1d1401319629eddaf82666ed8adbadc2d3466 /configure | |
parent | 0506f75c53ce0895408050ededcfb66bc07eb19b (diff) | |
download | cpython-6acf7776ef8e0f08e1d4b4b5511bea8d716f571f.zip cpython-6acf7776ef8e0f08e1d4b4b5511bea8d716f571f.tar.gz cpython-6acf7776ef8e0f08e1d4b4b5511bea8d716f571f.tar.bz2 |
gh-120507: Double WASI memory (#120648)
Use 16 MiB stack with 40 MiB memory limit, instead of 8 MiB stack
with 20 MiB memory limit.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7758,7 +7758,7 @@ then : fi ;; #( WASI/*) : - HOSTRUNNER='wasmtime run --wasm max-wasm-stack=8388608 --wasi preview2 --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --dir $(srcdir)::/' ;; #( + HOSTRUNNER='wasmtime run --wasm max-wasm-stack=16777216 --wasi preview2 --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --dir $(srcdir)::/' ;; #( *) : HOSTRUNNER='' ;; @@ -9560,7 +9560,7 @@ then : fi - as_fn_append LDFLAGS_NODIST " -z stack-size=8388608 -Wl,--stack-first -Wl,--initial-memory=20971520" + as_fn_append LDFLAGS_NODIST " -z stack-size=16777216 -Wl,--stack-first -Wl,--initial-memory=41943040" ;; #( *) : |