Bug fixes
- #1431 - go_proto_library once again can import proto files from go_proto_libraries that were embedded in intermediate go_library dependencies.
- #1428 - compiler now writes valid empty archives instead of 0-byte files when all source files are filtered out by build constraints.
- #1425 - compiler now correctly filters files generated by cgo for tests. This allows tests with mixed internal and external sources to include cgo.
WORKSPACE code
To use this release, add this code to your WORKSPACE file:
http_archive(
name = "io_bazel_rules_go",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.10.3/rules_go-0.10.3.tar.gz",
sha256 = "feba3278c13cde8d67e341a837f69a029f698d7a27ddbb2a202be7a10b22142a",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()