v0.24.8
Pre-release
Pre-release
jayconrod
released this
02 Dec 19:57
·
19 commits
to release-0.24
since this release
Bug fixes
go_test
no longer requiresTestMain
to callos.Exit
(thanks @rabbbit)@io_bazel_rules_go//proto/wkt:field_mask_go_proto
,
source_context_go_proto
, andtype_go_proto
are now wrappers around the
pre-generated sources ingoogle.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
andgo_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()