Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1b7942a

Browse files
authored
[3.11]gh-90473: Define HOSTRUNNER for WASI (GH-93606) (GH-93612)
(cherry picked from commit22df2e0)Co-authored-by: Christian Heimes <christian@python.org>
1 parentabd0223 commit1b7942a

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 aboutcustomizing 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)

[8]ページ先頭

©2009-2025 Movatter.jp