v0.24.8
Pre-release
Pre-release
·
19 commits
to release-0.24
since this release
Bug fixes
go_testno longer requiresTestMainto callos.Exit(thanks @rabbbit)@io_bazel_rules_go//proto/wkt:field_mask_go_proto,
source_context_go_proto, andtype_go_protoare now wrappers around the
pre-generated sources ingoogle.golang.org/protobuf. This should eliminate
linker conflicts.go_proto_librarynow 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_libraryneeds both sets of packages, since we don't know which
version of protobuf is used at analysis time.go_binaryandgo_testnow 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()