Skip to content

Commit 22df2e0

Browse files
authored
gh-90473: Define HOSTRUNNER for WASI (GH-93606)
1 parent 5442561 commit 22df2e0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

configure

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,10 @@ then
14241424
HOSTRUNNER='node'
14251425
])
14261426
],
1427+
dnl TODO: support other WASI runtimes
1428+
dnl wasmtime starts the proces with "/" as CWD. For OOT builds add the
1429+
dnl directory containing _sysconfigdata to PYTHONPATH.
1430+
[WASI/*], [HOSTRUNNER='wasmtime run --env PYTHONPATH=$$(realpath --relative-to $(abs_srcdir) $(abs_builddir))/$$(cat pybuilddir.txt) --mapdir /::$(srcdir) --'],
14271431
[HOSTRUNNER='']
14281432
)
14291433
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy