Skip to content

Commit

Permalink
Fix for Bazel upcoming change incompatible_string_join_requires_strin…
Browse files Browse the repository at this point in the history
…gs (#2059)

The arguments of string.join should be strings. In the future,
Bazel won't perform this implicit conversion.
  • Loading branch information
laurentlb authored and Jay Conrod committed May 15, 2019
1 parent 0cce30d commit edefa01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/private/rules/cgo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,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)
Expand Down

0 comments on commit edefa01

Please sign in to comment.