Bug fixes
- Fixed an issue in
go_test
with capturing XML output when changing directories. - Paths in error messages are now relativized. This should reduce noise from Bazel sandbox directories. (thanks @robfig)
go_local_sdk
provides better error messages when Go is built for multiple platforms. (thanks @prattmic)- Multiple compatibility fixes for Go 1.16beta1.
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "7904dbecbaffd068651916dce77ff3437679f9d20e1a7956bff43826e7645fcc",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.25.1/rules_go-v0.25.1.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.25.1/rules_go-v0.25.1.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.15.6")