]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-127652: stop using `--wasi preview2` in `wasi.py` (GH-127704)
authorBrett Cannon <brett@python.org>
Fri, 6 Dec 2024 18:42:05 +0000 (10:42 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2024 18:42:05 +0000 (18:42 +0000)
It's only to use WASI 0.2 code to back preview1 APIs and is considered experimental anyway.

Tools/wasm/wasi.py

index ac36d55587a38f68c4289ce7a4f256233a727dd0..da847c4ff8621590d3daaf307c725c884c695bdc 100644 (file)
@@ -297,8 +297,6 @@ def main():
                         # build.
                         # Use 16 MiB stack.
                         "--wasm max-wasm-stack=16777216 "
-                        # Use WASI 0.2 primitives.
-                        "--wasi preview2 "
                         # Enable thread support; causes use of preview1.
                         #"--wasm threads=y --wasi threads=y "
                         # Map the checkout to / to load the stdlib from /Lib.