Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4be3bc commit c141340Copy full SHA for c141340
1 file changed
Tools/wasm/wasi.py
@@ -270,6 +270,10 @@ def make_wasi_python(context, working_dir):
270
271
exec_script = working_dir / "python.sh"
272
subprocess.check_call([exec_script, "--version"])
273
+ print(
274
+ f"🎉 Use '{exec_script.relative_to(context.init_dir)}' "
275
+ "to run CPython in wasm runtime"
276
+ )
277
278
279
def build_all(context):
@@ -348,6 +352,7 @@ def main():
348
352
help="The target triple for the WASI host build")
349
353
350
354
context = parser.parse_args()
355
+ context.init_dir = pathlib.Path().absolute()
351
356
357
dispatch = {"configure-build-python": configure_build_python,
358
"make-build-python": make_build_python,
0 commit comments