Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Tools/wasm/wasi.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ def make_wasi_python(context, working_dir):

exec_script = working_dir / "python.sh"
subprocess.check_call([exec_script, "--version"])
print(
f"🎉 Use '{exec_script.relative_to(context.init_dir)}' "
"to run CPython in wasmtime"
)


def build_all(context):
Expand Down Expand Up @@ -348,6 +352,7 @@ def main():
help="The target triple for the WASI host build")

context = parser.parse_args()
context.init_dir = pathlib.Path().absolute()

dispatch = {"configure-build-python": configure_build_python,
"make-build-python": make_build_python,
Expand Down
Loading