| if __name__ == "__main__": | |
| import pathlib | |
| import runpy | |
| import sys | |
| print( | |
| "⚠️ WARNING: This script is deprecated and slated for removal in Python 3.20; " | |
| "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__") |