0.7.1
Pre-release
Pre-release
Bug fixes and small features
This is a fairly small release with a few bug fixes and small features. This is the last release before we upgrade to Bazel 0.8, which incorporates several features for cross-platform support which we plan to use as soon as possible.
The following changes are included in this release:
- Bazel 0.7 is now the minimum Bazel version.
- Several bug fixes for aspect-based builds. This mostly affects
"pure"
mode and cross-compilation. - Several fixes for performance regressions. This resolved some restructuring of our providers to avoid hashing a large amount of data in depsets.
- Gazelle converts
library
attributes toembed
. These attributes cover the same concept, butembed
accepts a list of targets instead of one. go_source
is a new rule which specifies a group ofsrcs
anddeps
that can be used as a target inembed
attributes. Unlikego_library
, these rules cannot be built independently.- Dropped support for Go 1.7.
WORKSPACE code
To use this release, add this code to your WORKSPACE file:
http_archive(
name = "io_bazel_rules_go",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.7.1/rules_go-0.7.1.tar.gz",
sha256 = "341d5eacef704415386974bc82a1783a8b7ffbff2ab6ba02375e1ca20d9b031c",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
Direct download: rules_go-0.7.1.tar.gz