github bazelbuild/rules_go 0.18.7

latest releases: v0.50.1, v0.50.0, v0.49.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.18.7/rules_go-0.18.7.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/0.18.7/rules_go-0.18.7.tar.gz",
    ],
    sha256 = "45409e6c4f748baa9e05f8f6ab6efaa05739aa064e3ab94e5a1a09849c51806a",
)

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.