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 = "d9d71a5fdfcf5f5326f1ffc4bcaea6519cb4fcfe0aaee6ae68c7440ee8b46bc8",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.22.7/rules_go-v0.22.7.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.22.7/rules_go-v0.22.7.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()