You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(windows): normalize Windows platform names in all toolchain files
Windows builds have been failing on Windows Server 2025 with error:
"Unsupported platform windows server 2025_amd64"
The issue was that platform detection did not normalize Windows OS names.
GitHub Actions now uses "Windows Server 2025" which becomes
"windows server 2025_amd64" after lowercasing, but the checksum registry
expects "windows_amd64".
Changes:
- Fixed platform detection in 7 toolchain files to normalize Windows names:
* wasm_toolchain.bzl
* wasmtime_toolchain.bzl
* jco_toolchain.bzl
* wasi_sdk_toolchain.bzl
* cpp_component_toolchain.bzl
* symmetric_wit_bindgen_toolchain.bzl
* monitoring.bzl
- Note: tinygo_toolchain.bzl, wizer_toolchain.bzl, and wkg_toolchain.bzl
already had correct implementations
- Enabled Windows tests in PR CI (was only running on main branch)
* Reduced test matrix to latest Bazel versions only on PRs
* This ensures Windows issues are caught early
The fix uses pattern matching ("windows" in os_name) instead of exact
string comparison, so it will work with any Windows variant:
- Windows 10, Windows 11
- Windows Server 2019, 2022, 2025
- Future Windows versions
0 commit comments