github bazelbuild/rules_go v0.22.4

latest releases: v0.47.0, v0.46.0, v0.45.1...
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.
  • The cgocall analyzer is disabled in tools_nogo due to lack of support.
  • 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 = "7b9bbe3ea1fccb46dcfa6c3f3e29ba7ec740d8733370e21cdc8937467b4a4349",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.22.4/rules_go-v0.22.4.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.22.4/rules_go-v0.22.4.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.