From 94a536c9984a483fcf77bdea03cb5974f23ed86c Mon Sep 17 00:00:00 2001 From: Laurent Le Brun Date: Tue, 14 May 2019 20:52:30 +0200 Subject: [PATCH] Fix for Bazel upcoming change incompatible_string_join_requires_strings (#2059) The arguments of string.join should be strings. In the future, Bazel won't perform this implicit conversion. --- go/private/rules/cgo.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/private/rules/cgo.bzl b/go/private/rules/cgo.bzl index 81845321ba..dd6595f26b 100644 --- a/go/private/rules/cgo.bzl +++ b/go/private/rules/cgo.bzl @@ -253,7 +253,7 @@ def _include_unique(opts, flag, include, seen): opts.extend([flag, include]) def _encode_cgo_mode(goos, goarch, race, msan): - return "_".join((goos, goarch, race, msan)) + return "_".join((goos, goarch, str(race), str(msan))) def _cgo_codegen_impl(ctx): go = go_context(ctx)