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 edf5b64 commit 0da92cdCopy full SHA for 0da92cd
go/private/context.bzl
@@ -446,6 +446,12 @@ def go_context(ctx, attr = None):
446
# Explicitly clear this environment variable to ensure that doesn't
447
# happen. See #2291 for more information.
448
"GOPATH": "",
449
+
450
+ # Since v1.21.0, set GOTOOLCHAIN to "local" to use the current toolchain
451
+ # and avoid downloading other toolchains.
452
+ #
453
+ # See https://go.dev/doc/toolchain for more info.
454
+ "GOTOOLCHAIN": "local",
455
}
456
457
# The level of support is determined by the platform constraints in
0 commit comments