We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01fc6f commit 899d90dCopy full SHA for 899d90d
1 file changed
go/private/sdk.bzl
@@ -282,13 +282,11 @@ def _detect_host_platform(ctx):
282
# Default to amd64 when uname doesn't return a known value.
283
284
elif ctx.os.name.startswith("windows"):
285
+ goos, goarch = "windows", "amd64"
286
if _get_env_var(ctx, "PROCESSOR_ARCHITECTURE") == "ARM64":
287
goarch = "arm64"
288
elif _get_env_var(ctx, "PROCESSOR_ARCHITEW6432") == "ARM64":
289
- else:
290
- goarch = "amd64"
291
- goos = "windows"
292
elif ctx.os.name == "freebsd":
293
goos, goarch = "freebsd", "amd64"
294
else:
0 commit comments