From 5f84c971da86d7974fa15ecd281b5938fff76a43 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 21 Sep 2026 10:50:45 -0700 Subject: [PATCH 1/2] Add support for WASI SDK 34 --- .../next/Build/2026-09-21-10-50-31.gh-issue-157923.OffPYn.rst | 1 + Platforms/WASI/config.site-wasm32-wasi | 4 ++++ Platforms/WASI/config.toml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Build/2026-09-21-10-50-31.gh-issue-157923.OffPYn.rst diff --git a/Misc/NEWS.d/next/Build/2026-09-21-10-50-31.gh-issue-157923.OffPYn.rst b/Misc/NEWS.d/next/Build/2026-09-21-10-50-31.gh-issue-157923.OffPYn.rst new file mode 100644 index 000000000000000..f1126adb1a069e6 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2026-09-21-10-50-31.gh-issue-157923.OffPYn.rst @@ -0,0 +1 @@ +Support WASI SDK 34. diff --git a/Platforms/WASI/config.site-wasm32-wasi b/Platforms/WASI/config.site-wasm32-wasi index c5d8b3e205db26f..88c54907880e73b 100644 --- a/Platforms/WASI/config.site-wasm32-wasi +++ b/Platforms/WASI/config.site-wasm32-wasi @@ -57,3 +57,7 @@ ac_cv_func_fchmod=no ac_cv_func_fchmodat=no ac_cv_func_statvfs=no ac_cv_func_fstatvfs=no + +# WASI SDK 34 declares some things that simply error out. +ac_cv_func_pipe2=no +ac_cv_func_pthread_getcpuclockid=no diff --git a/Platforms/WASI/config.toml b/Platforms/WASI/config.toml index 6a6d5713ee96739..151c528c87670d5 100644 --- a/Platforms/WASI/config.toml +++ b/Platforms/WASI/config.toml @@ -2,5 +2,5 @@ # This allows for blanket copying of the WASI build code between supported # Python versions. [targets] -wasi-sdk = 33 +wasi-sdk = 34 host-triple = "wasm32-wasip1" From b1181cb324fa0fe02a3473325094ecedb9cf34b2 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 21 Sep 2026 13:10:48 -0700 Subject: [PATCH 2/2] Bump wasmtime --- .github/workflows/reusable-wasi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-wasi.yml b/.github/workflows/reusable-wasi.yml index b0dda62d0b291c2..fd263e8aafd8f58 100644 --- a/.github/workflows/reusable-wasi.yml +++ b/.github/workflows/reusable-wasi.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-26.04-arm timeout-minutes: 60 env: - WASMTIME_VERSION: 38.0.3 + WASMTIME_VERSION: 48.0.2 CROSS_BUILD_WASI: cross-build/wasm32-wasip1 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0