File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ def configure_wasi_python(context, working_dir):
224224 args = {"GUEST_DIR" : "/" ,
225225 "HOST_DIR" : CHECKOUT ,
226226 "ENV_VAR_NAME" : "PYTHONPATH" ,
227- "ENV_VAR_VALUE" : f"/{ sysconfig_data } :/Lib " ,
227+ "ENV_VAR_VALUE" : f"/{ sysconfig_data } " ,
228228 "PYTHON_WASM" : working_dir / "python.wasm" }
229229 # Check dynamically for wasmtime in case it was specified manually via
230230 # `--host-runner`.
@@ -296,7 +296,7 @@ def main():
296296 # Make sure the stack size will work for a pydebug
297297 # build.
298298 # Use 16 MiB stack.
299- "--wasm max-wasm-stack=16777216 "
299+ "--wasm max-wasm-stack=33554432 "
300300 # Enable thread support; causes use of preview1.
301301 #"--wasm threads=y --wasi threads=y "
302302 # Map the checkout to / to load the stdlib from /Lib.
Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ def _check_wasi() -> None:
329329 # workaround for https://github.com/python/cpython/issues/95952
330330 "HOSTRUNNER" : (
331331 "wasmtime run "
332- "--wasm max-wasm-stack=16777216 "
332+ "--wasm max-wasm-stack=33554432 "
333333 "--wasi preview2 "
334334 "--dir {srcdir}::/ "
335335 "--env PYTHONPATH="
You can’t perform that action at this time.
0 commit comments