mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives (#116327)
* GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives * Add the configure changes * Update `wasm_build.py`
This commit is contained in:
parent
6cddc731fb
commit
7af063d1d8
6 changed files with 12 additions and 7 deletions
|
@ -329,8 +329,10 @@ WASI = Platform(
|
|||
# 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