Skip to content

Switch to non-deprecated Tools/wasm/wasi #1570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions getting-started/setup-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,9 @@ Python you have installed on your machine):

.. code-block:: shell

$ python3 Tools/wasm/wasi.py build --quiet -- --config-cache --with-pydebug
$ python3 Tools/wasm/wasi build --quiet -- --config-cache --with-pydebug

For Python 3.14 and earlier, use ``Tools/wasm/wasi.py`` instead.

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

.. code-block:: shell

$ python Tools/wasm/wasi.py configure-build-python --quiet -- --config-cache --with-pydebug
$ python Tools/wasm/wasi.py make-build-python --quiet
$ python Tools/wasm/wasi.py configure-host --quiet -- --config-cache
$ python Tools/wasm/wasi.py make-host --quiet
$ python Tools/wasm/wasi configure-build-python --quiet -- --config-cache --with-pydebug
$ python Tools/wasm/wasi make-build-python --quiet
$ python Tools/wasm/wasi configure-host --quiet -- --config-cache
$ python Tools/wasm/wasi make-host --quiet

.. note::

Expand Down
Loading