New Go versions
Go 1.14.5 and 1.13.13 are now supported.
Bug fixes
- Package conflicts are now detected more reliably during linking, and diagnostic messages are clearer. These are still not hard failures (though they will be in the future), but they'll be printed as warnings.
- Better static linking with
libstdc++
. - Coverage mode is set to
atomic
when race detection is enabled. race
andmsan
are disabled whenpure
mode is enabled.- Added missing platforms from
go tool dist list
.
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "e5de048e72612598c45f564202f6a3c74616be4ffd2dbd6f7bc75045f8ecbdce",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.4/rules_go-v0.23.4.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.23.4/rules_go-v0.23.4.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()