Bug fixes
race
andmsan
instrumentation is now disabled whenpure
mode is enabled.
Both kinds of instrumentation require cgo, so they're not compatible with
pure
.- The coverage mode is set to
atomic
whenrace
instrumentation is enabled.
(Thanks to @linzhp) go_proto_library
targets for well known types in
@io_bazel_rules_go//proto/wkt
now compile pre-generated sources, which are
specially built for compatibility with APIv2.
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "0c10738a488239750dbf35336be13252bad7c74348f867d30c3c3e0001906096",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.2/rules_go-v0.23.2.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.23.2/rules_go-v0.23.2.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()