Skip to content

Commit 1dbebb0

Browse files
Download the correct tools for Windows 64-bit
1 parent d170a5e commit 1dbebb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/download.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var systems = map[string]string{
7070
"darwinamd64": "i686-apple-darwin",
7171
"darwinarm64": "arm64-apple-darwin",
7272
"windows386": "i686-mingw32",
73-
"windowsamd64": "i686-mingw32",
73+
"windowsamd64": "x86_64-mingw32",
7474
"linuxarm": "arm-linux-gnueabihf",
7575
}
7676

tools/download_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestDownloadCorrectPlatform(t *testing.T) {
4040
{"darwin", "amd64", "x86_64-apple-darwin"},
4141
{"darwin", "arm64", "arm64-apple-darwin"},
4242
{"windows", "386", "i686-mingw32"},
43-
{"windows", "amd64", "i686-mingw32"},
43+
{"windows", "amd64", "x86_64-mingw32"},
4444
{"linux", "arm", "arm-linux-gnueabihf"},
4545
}
4646
testIndex := paths.New("testdata", "test_tool_index.json")

0 commit comments

Comments
 (0)