Author: zbarsky-bot
MODULE.bazel code
bazel_dep(name = "rules_go", version = "0.62.0")
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.from_file(go_mod = "//:go.mod")
WORKSPACE code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "0b805c94fb3730dc23df32925ed477b3f4ed37b56075dcac6f218c3ea7b4ab42",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.62.0/rules_go-v0.62.0.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.62.0/rules_go-v0.62.0.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.26.5")
# Create the host platform repository transitively required by rules_go.
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@platforms//host:extension.bzl", "host_platform_repo")
maybe(
host_platform_repo,
name = "host_platform",
)
What's Changed
- Remove cc toolchain attr by @dzbarsky in #4601
- Add
GoLinkactions togo_linkexec group by @michaelm-openai in #4630 - Add missing
go_linkexec group to go_test by @michaelm-openai in #4632 - fix: add sanitize_pwd to unsupported cc toolchain features. by @reltuk in #4635
- Preserve common Go settings in go_stdlib_transition by @dzbarsky in #4637
- Declare GoArchive in rule provider declarations by @dzbarsky in #4638
- [builder/cgo] escape ldflags for invoking cgo starting Go 1.27 by @tchung1118 in #4641
- protoc: stream generated file copies by @sluongng in #4647
- Exclude test sources, not needed for the bootstrap SDK compilation by @darkrift in #4644
- Use param file to avoid argument list exceeding OS limit by @koonpeng in #4649
- Support --force_pic for cgo interop by @keith in #4648
- builders: filter test sources in place by @sluongng in #4646
- compilepkg: skip duplicate cgo compile by @sluongng in #4645
- Add dedicated load files for go_binary(), go_library(), go_test() by @ericsalo in #4655
- Add tests for cgo ldflags response-file encoding for Go 1.27 by @darkrift in #4656
- go: carry stdlib cgo link inputs into GoLink by @zbarsky-openai in #4657
- Revert "Preserve common Go settings in go_stdlib_transition" by @fmeum in #4658
New Contributors
- @michaelm-openai made their first contribution in #4630
- @reltuk made their first contribution in #4635
- @tchung1118 made their first contribution in #4641
- @darkrift made their first contribution in #4644
- @ericsalo made their first contribution in #4655
- @zbarsky-openai made their first contribution in #4657
Full Changelog: v0.61.1...v0.62.0