New Go version
Go 1.12 is now supported.
Bug fixes
gofast
proto compilers no longer depend ongogoprotobuf
. (Thanks @bartle-stripe)- The
go_googleapis
repository should work on FreeBSD. (Thanks @EdSchouten) - cgo no longer requires that
cc_library
dependencies produce any files.
Compatibility
- For rules_go 0.16 versions only,
nogo
withvet = True
will not work with Go 1.12. If you want to continue usingvet
, upgrade to rules_go 0.17 or pin to Go 1.11. - Bazel 0.23.0 and later may need compatibility flags to be set to continue working with rules_go 0.16 versions. Upgrade to rules_go 0.17 to avoid the need for these flags.
WORKSPACE code
http_archive(
name = "io_bazel_rules_go",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.7/rules_go-0.16.7.tar.gz",
sha256 = "7994c62f36aa67c961fa2972e7961a68095d3c29c7d3bc631500a220a042de39",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()