github bazel-contrib/rules_go v0.21.7

latest releases: v0.50.1, v0.50.0, v0.49.0...
pre-release4 years ago

Bug fixes

  • A patch for com_github_golang_protobuf has been updated to no longer touch testdata files that were deleted in later versions upstream. This should make it easier to use newer versions of protobuf.
  • Some missing platforms and toolchains are added.
  • go_embed_data can now correctly embed .c, .go, and other source files.

WORKSPACE code

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

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "c1a5614131bbd4e4764ad782de261a2e9c4173c9528a50dbaefcbea6fce7d66a",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.21.7/rules_go-v0.21.7.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.21.7/rules_go-v0.21.7.tar.gz",
    ],
)

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

go_rules_dependencies()

go_register_toolchains()

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.