Skip to content

0.8.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jayconrod jayconrod released this 13 Dec 18:43
· 1364 commits to master since this release

Go rules

  • go_binary now supports goos and goarch attributes. This enables multiple target platforms in the same build.
  • Fixed an issue which caused the build to fail with the message: "Unsupported architecture: unknown" on newer Linux distributions. We now default to amd64 when we can't detect the architecture with uname -p on Linux.
  • Multiple fixes for builds with --features=pure and --features=race.

Gazelle

  • # gazelle:prefix example.com/repo can be used to set the prefix within a subtree.
  • Fixed some logic bugs around dependency resolution, deletion of rules, and # gazelle:ignore.

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.8.1/rules_go-0.8.1.tar.gz",
    sha256 = "90bb270d0a92ed5c83558b2797346917c46547f6f7103e648941ecdb6b9d0e72",
)
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.8.1.tar.gz