Go support
Added support for Go 1.10.3 and 1.9.7.
Bug fixes
- #1524 - Add extra_files attribute to bazel_test
- #1542 - Fix deprecated skylark
- #1541 - Inherit importmap from embedded libraries
- #1526 - fix ios cross compilation with cgo
- #1521 - Allow .s files to include other .s files
- #1510 - Change base URL that SDKs are downloaded from
- #1497 - Enable use of FreeBSD SDK
- #1493 - Propagate restricted_to and compatible_with attributes in cgo rules
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.12.1/rules_go-0.12.1.tar.gz",
sha256 = "8b68d0630d63d95dacc0016c3bb4b76154fe34fca93efd65d1c366de3fcb4294",
)
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()