https://github.com/python/cpython/commit/0b676e325eba6916d3f0ef696c8d8b0b9ea84d6e
commit: 0b676e325eba6916d3f0ef696c8d8b0b9ea84d6e
branch: main
author: Brett Cannon <[email protected]>
committer: brettcannon <[email protected]>
date: 2026-10-22T12:15:32-07:00
summary:

GH-160135: Support wasm32-wasip3 (#160134)

files:
A Misc/NEWS.d/next/WASI/2026-10-21-15-26-12.gh-issue-160135.UP-DlO.rst
M .github/workflows/reusable-wasi.yml
M Platforms/WASI/config.toml

diff --git a/.github/workflows/reusable-wasi.yml 
b/.github/workflows/reusable-wasi.yml
index e4b3794346207d2..12dd790897ad392 100644
--- a/.github/workflows/reusable-wasi.yml
+++ b/.github/workflows/reusable-wasi.yml
@@ -16,7 +16,6 @@ jobs:
     timeout-minutes: 60
     env:
       WASMTIME_VERSION: 48.0.2
-      CROSS_BUILD_WASI: cross-build/wasm32-wasip1
     steps:
     - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
       with:
@@ -65,4 +64,6 @@ jobs:
     - name: "Display build info of the host/WASI Python"
       run: python3 Platforms/WASI pythoninfo-host
     - name: "Test"
-      run: make --directory "${CROSS_BUILD_WASI}" test
+      run: |
+        CROSS_BUILD_WASI=$(python3 Platforms/WASI path)
+        make --directory "${CROSS_BUILD_WASI}" test
diff --git 
a/Misc/NEWS.d/next/WASI/2026-10-21-15-26-12.gh-issue-160135.UP-DlO.rst 
b/Misc/NEWS.d/next/WASI/2026-10-21-15-26-12.gh-issue-160135.UP-DlO.rst
new file mode 100644
index 000000000000000..2f3b76136afd24e
--- /dev/null
+++ b/Misc/NEWS.d/next/WASI/2026-10-21-15-26-12.gh-issue-160135.UP-DlO.rst
@@ -0,0 +1 @@
+Support wasm32-wasip3.
diff --git a/Platforms/WASI/config.toml b/Platforms/WASI/config.toml
index 151c528c87670d5..3a9dcae6852814b 100644
--- a/Platforms/WASI/config.toml
+++ b/Platforms/WASI/config.toml
@@ -3,4 +3,4 @@
 # Python versions.
 [targets]
 wasi-sdk = 34
-host-triple = "wasm32-wasip1"
+host-triple = "wasm32-wasip3"

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to