cpython/Tools/wasm/wasi.py
Brett Cannon ee49644cc9 GH-133600: Refactor wasi.py into wasi/__main__.py
Along the way, also move related files into their appropriate directories and update `.github/CODEOWNERS`.
2025-05-07 12:10:53 -07:00

10 lines
367 B
Python

if __name__ == "__main__":
import pathlib
import runpy
import sys
print("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.19; "
"execute the `wasi/` directory instead (i.e. `python Tools/wasm/wasi`)\n",
file=sys.stderr)
runpy.run_path(pathlib.Path(__file__).parent / "wasi", run_name="__main__")