Skip to content

Commit

Permalink
pythongh-90473: Define HOSTRUNNER for WASI (pythonGH-93606)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran authored Jun 8, 2022
1 parent 5442561 commit 22df2e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,10 @@ then
HOSTRUNNER='node'
])
],
dnl TODO: support other WASI runtimes
dnl wasmtime starts the proces with "/" as CWD. For OOT builds add the
dnl directory containing _sysconfigdata to PYTHONPATH.
[WASI/*], [HOSTRUNNER='wasmtime run --env PYTHONPATH=$$(realpath --relative-to $(abs_srcdir) $(abs_builddir))/$$(cat pybuilddir.txt) --mapdir /::$(srcdir) --'],
[HOSTRUNNER='']
)
fi
Expand Down

0 comments on commit 22df2e0

Please sign in to comment.