Skip to content

Commit 2682005

Browse files
committed
fix(windows): correct WASI SDK platform suffix from mingw to windows
Changed platform_mapping for windows_amd64 from "x86_64-mingw" to "x86_64-windows" to match the actual GitHub release filename format. This was causing 404 errors when downloading WASI SDK on Windows: Tried: wasi-sdk-27.0-x86_64-mingw.tar.gz (404 Not Found) Correct: wasi-sdk-27.0-x86_64-windows.tar.gz The mingw suffix was incorrect - WASI SDK uses "windows" in their release filenames.
1 parent 6a396eb commit 2682005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchains/wasi_sdk_toolchain.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _setup_downloaded_wasi_sdk(repository_ctx):
134134
"darwin_arm64": "arm64-macos",
135135
"linux_amd64": "x86_64-linux",
136136
"linux_arm64": "arm64-linux",
137-
"windows_amd64": "x86_64-mingw",
137+
"windows_amd64": "x86_64-windows",
138138
}
139139

140140
if platform not in platform_mapping:

0 commit comments

Comments
 (0)