Skip to content

v0.24.8

Pre-release
Pre-release
Compare
Choose a tag to compare
@jayconrod jayconrod released this 02 Dec 19:57
· 19 commits to release-0.24 since this release

Bug fixes

  • go_test no longer requires TestMain to call os.Exit (thanks @rabbbit)
  • @io_bazel_rules_go//proto/wkt:field_mask_go_proto,
    source_context_go_proto, and type_go_proto are now wrappers around the
    pre-generated sources in google.golang.org/protobuf. This should eliminate
    linker conflicts.
  • go_proto_library now declares implicit dependencies on both APIv1 and
    APIv2 packages. This may increase build time (both sets of packages will be
    compiled) but is needed for compatibility with protobuf 3.14.0.
    go_proto_library needs both sets of packages, since we don't know which
    version of protobuf is used at analysis time.
  • go_binary and go_test now force internal linking in pure mode, since
    a C/C++ toolchain is not available. This should produce better error messages
    on platforms that don't support internal linking.

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains()