Bug fixes
coverdata
is now imported correctly in files with import comments (thanks @linzhp).cdeps
are correctly passed to the linker when a split test's packages are recompiled.- The
GoPath
action uses absolute paths to mitigate path length limits on Windows (thanks @Xjs). - The file
lib/time/zoneinfo.zip
is now exported from downloaded Go distributions (thanks @andrewtar). - Multiline package conflict error messages are correctly passed to the builder when Bazel param files are used.
- Compiler errors are redirected from stdout to stderr.
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "bca583b49e4705ffa51d793ee4e2403e1eaab4d31222af8d950ef7cfe731ea33",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.11/rules_go-v0.23.11.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.23.11/rules_go-v0.23.11.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()