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 4d228c4 commit b76f1f9Copy full SHA for b76f1f9
1 file changed
Tools/wasm/wasi/__main__.py
@@ -421,6 +421,8 @@ def main():
421
"--wasm max-wasm-stack=16777216 "
422
# Enable thread support; causes use of preview1.
423
# "--wasm threads=y --wasi threads=y "
424
+ # Set argv0 to the Python process
425
+ "--argv0 {PYTHON_WASM} "
426
# Map the checkout to / to load the stdlib from /Lib.
427
"--dir {HOST_DIR}::{GUEST_DIR} "
428
# Set PYTHONPATH to the sysconfig data.
0 commit comments