mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.12] GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives (GH-116327) (GH-116373)
This commit is contained in:
parent
23a9ba45ae
commit
88fdb082d9
5 changed files with 9 additions and 6 deletions
|
|
@ -316,8 +316,10 @@ def _check_wasi():
|
|||
# workaround for https://github.com/python/cpython/issues/95952
|
||||
"HOSTRUNNER": (
|
||||
"wasmtime run "
|
||||
"--env PYTHONPATH=/{relbuilddir}/build/lib.wasi-wasm32-{version}:/Lib "
|
||||
"--mapdir /::{srcdir} --"
|
||||
"--wasm max-wasm-stack=8388608 "
|
||||
"--wasi preview2 "
|
||||
"--dir {srcdir}::/ "
|
||||
"--env PYTHONPATH=/{relbuilddir}/build/lib.wasi-wasm32-{version}:/Lib"
|
||||
),
|
||||
"PATH": [WASI_SDK_PATH / "bin", os.environ["PATH"]],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue