WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "94643c4ce02f3b62f3be7d13d527a5c780a568073b7562606e78399929005f98",
urls = [
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.56.0/rules_go-v0.56.0.zip",
"https://github.com/bazel-contrib/rules_go/releases/download/v0.56.0/rules_go-v0.56.0.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.24.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
- Fix breakages with Bazel@HEAD and incompatible flags by @fmeum in #4368
- Provide
DefaultInfo
on Go toolchain rules by @fmeum in #4373 - go/tools/gopackagesdriver/pkgjson: Construct pkg json from file input by @r-hang in #4371
- Gracefully handle a panicking analyzer by @fmeum in #4374
- Drop non-hermetic deps in _go_tool_binary_impl by @dzbarsky in #4365
- Don't set module version outside BCR by @fmeum in #4381
- coverage: Don't panic if flag.CommandLine is reassigned by @abhinav in #4384
- chore(go_proto_library): Improve error message on incorrect use. by @mkosiba in #4387
- Cleanup macro wrappers by @dzbarsky in #4388
- Request stdlib cache dir in gopackagesdriver by @jscissr in #4391
- Compute rpath correctly with nested bazel modules by @dgoel in #4390
- Pass large ldflags to cgo via response file instead of env variable. by @dgoel in #4386
- docs: fixup link to bazel-gazelle by @dougthor42 in #4392
- go_sdk: store SDK filenames and hashes in lockfile facts by @fmeum in #4393
- Update rbe worker platform by @meteorcloudy in #4395
- Add support for
--incompatible_compact_repo_mapping_manifest
by @fmeum in #4375 - Improve caching for devs and CI via
--incompatible_strict_action_env
by @fmeum in #4404 - Skip analyzers that don't emit facts when ignoring diagnostics by @fmeum in #4402
- Allow targets to fully opt out of nogo by @fmeum in #4403
- Support integration test coverage system (coverageredesign) by @r-hang in #4397
New Contributors
- @mkosiba made their first contribution in #4387
- @dgoel made their first contribution in #4390
- @dougthor42 made their first contribution in #4392
Full Changelog: v0.55.0...v0.56.0