From 812c9a79a0f721d8777385edca7cca219dac2145 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Mon, 11 Nov 2024 16:12:07 +0100 Subject: [PATCH 1/2] DOCS fix configure.rst description of when build_wasm is the all target It has nothing to do with `--with-emscripten-target` but rather is selected when the host is either wasm32-wasi or wasm32-emscripten. --- Doc/using/configure.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 5f1ee0c2a2e657..d0c995cd727167 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -1097,7 +1097,8 @@ CPython project) this is usually the ``all`` target. The all`` will build. The three choices are: * ``profile-opt`` (configured with ``--enable-optimizations``) -* ``build_wasm`` (configured with ``--with-emscripten-target``) +* ``build_wasm`` (chosen if the host platform is either ``wasm32-wasi`` or + ``wasm32-emscripten``) * ``build_all`` (configured without explicitly using either of the others) Depending on the most recent source file changes, Make will rebuild From f73fcef25cb07cbdae444ca0c19e02568d06e2b1 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Fri, 15 Nov 2024 10:53:44 +0100 Subject: [PATCH 2/2] Update workding according to Russell's review --- Doc/using/configure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index d0c995cd727167..6ec0eb0841c9fe 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -1097,7 +1097,7 @@ CPython project) this is usually the ``all`` target. The all`` will build. The three choices are: * ``profile-opt`` (configured with ``--enable-optimizations``) -* ``build_wasm`` (chosen if the host platform is either ``wasm32-wasi`` or +* ``build_wasm`` (chosen if the host platform matches ``wasm32-wasi*`` or ``wasm32-emscripten``) * ``build_all`` (configured without explicitly using either of the others)