github bazel-contrib/rules_go 0.17.8

latest releases: v0.51.0-rc1, v0.50.1, v0.50.0...
pre-release5 years ago

New Go versions

Go 1.12.7 and 1.11.12 are now supported.

Compatibility and bug fixes

Several small bug fixes and compatibility improvements are included in this release.

However, recent Bazel compatibility changes have required significant changes in rules_go that cannot be backported to this branch. In particular, the new C/C++ toolchain selection mechanism causes problems with rules_go cross-compilation. This is fixed on master, and we'll be releasing rules_go 0.19.0 soon. Until then, if you have issues with cross-compilation, you may need to use either Bazel 0.25.2 or rules_go at master.

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    urls = [
        "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.17.8/rules_go-0.17.8.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/0.17.8/rules_go-0.17.8.tar.gz",
    ],
    sha256 = "38113392bac83252d2e6450b0056e41f35b2469903e319688883598ce38f0377",
)

load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")

go_rules_dependencies()

go_register_toolchains()

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.