diff --git a/go/private/context.bzl b/go/private/context.bzl index 57d4ea5073..f8571feecc 100644 --- a/go/private/context.bzl +++ b/go/private/context.bzl @@ -594,5 +594,6 @@ go_context_data = rule( default = "@bazel_tools//tools/osx:current_xcode_config", ), }, + toolchains = ["@bazel_tools//tools/cpp:toolchain_type"], fragments = ["apple", "cpp"], )