Skip to content

Commit b062cc9

Browse files
authored
Switch to non-deprecated Tools/wasm/wasi (#1570)
1 parent 42e2aee commit b062cc9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

getting-started/setup-building.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,9 @@ Python you have installed on your machine):
411411

412412
.. code-block:: shell
413413
414-
$ python3 Tools/wasm/wasi.py build --quiet -- --config-cache --with-pydebug
414+
$ python3 Tools/wasm/wasi build --quiet -- --config-cache --with-pydebug
415+
416+
For Python 3.14 and earlier, use ``Tools/wasm/wasi.py`` instead.
415417

416418
That single command will configure and build both the build Python and the
417419
WASI build in ``cross-build/build`` and ``cross-build/wasm32-wasi``,
@@ -422,10 +424,10 @@ is a convenience wrapper around the following commands:
422424

423425
.. code-block:: shell
424426
425-
$ python Tools/wasm/wasi.py configure-build-python --quiet -- --config-cache --with-pydebug
426-
$ python Tools/wasm/wasi.py make-build-python --quiet
427-
$ python Tools/wasm/wasi.py configure-host --quiet -- --config-cache
428-
$ python Tools/wasm/wasi.py make-host --quiet
427+
$ python Tools/wasm/wasi configure-build-python --quiet -- --config-cache --with-pydebug
428+
$ python Tools/wasm/wasi make-build-python --quiet
429+
$ python Tools/wasm/wasi configure-host --quiet -- --config-cache
430+
$ python Tools/wasm/wasi make-host --quiet
429431
430432
.. note::
431433

0 commit comments

Comments
 (0)