Update module github.com/bazelbuild/rules_go to v0.62.0 #64

Merged
prskr merged 1 commit from renovate/github.com-bazelbuild-rules_go-0.x into main 2026-08-13 17:37:17 +00:00
Owner

This PR contains the following updates:

Package Change Age Confidence
github.com/bazelbuild/rules_go v0.61.1v0.62.0 age confidence

Release Notes

bazelbuild/rules_go (github.com/bazelbuild/rules_go)

v0.62.0

Compare Source

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
New Contributors

Full Changelog: https://github.com/bazel-contrib/rules_go/compare/v0.61.1...v0.62.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/bazelbuild/rules_go](https://github.com/bazelbuild/rules_go) | `v0.61.1` → `v0.62.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbazelbuild%2frules_go/v0.62.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbazelbuild%2frules_go/v0.61.1/v0.62.0?slim=true) | --- ### Release Notes <details> <summary>bazelbuild/rules_go (github.com/bazelbuild/rules_go)</summary> ### [`v0.62.0`](https://github.com/bazel-contrib/rules_go/releases/tag/v0.62.0) [Compare Source](https://github.com/bazelbuild/rules_go/compare/v0.61.1...v0.62.0) Author: zbarsky-bot ##### `MODULE.bazel` code ``` bazel_dep(name = "rules_go", version = "0.62.0") go_sdk = use_extension("@&#8203;rules_go//go:extensions.bzl", "go_sdk") go_sdk.from_file(go_mod = "//:go.mod") ``` ##### `WORKSPACE` code ``` load("@&#8203;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("@&#8203;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("@&#8203;bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@&#8203;platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` ##### What's Changed - Remove cc toolchain attr by [@&#8203;dzbarsky](https://github.com/dzbarsky) in [bazel-contrib#4601](https://github.com/bazel-contrib/rules_go/pull/4601) - Add `GoLink` actions to `go_link` exec group by [@&#8203;michaelm-openai](https://github.com/michaelm-openai) in [bazel-contrib#4630](https://github.com/bazel-contrib/rules_go/pull/4630) - Add missing `go_link` exec group to go\_test by [@&#8203;michaelm-openai](https://github.com/michaelm-openai) in [bazel-contrib#4632](https://github.com/bazel-contrib/rules_go/pull/4632) - fix: add sanitize\_pwd to unsupported cc toolchain features. by [@&#8203;reltuk](https://github.com/reltuk) in [bazel-contrib#4635](https://github.com/bazel-contrib/rules_go/pull/4635) - Preserve common Go settings in go\_stdlib\_transition by [@&#8203;dzbarsky](https://github.com/dzbarsky) in [bazel-contrib#4637](https://github.com/bazel-contrib/rules_go/pull/4637) - Declare GoArchive in rule provider declarations by [@&#8203;dzbarsky](https://github.com/dzbarsky) in [bazel-contrib#4638](https://github.com/bazel-contrib/rules_go/pull/4638) - \[builder/cgo] escape ldflags for invoking cgo starting Go 1.27 by [@&#8203;tchung1118](https://github.com/tchung1118) in [bazel-contrib#4641](https://github.com/bazel-contrib/rules_go/pull/4641) - protoc: stream generated file copies by [@&#8203;sluongng](https://github.com/sluongng) in [bazel-contrib#4647](https://github.com/bazel-contrib/rules_go/pull/4647) - Exclude test sources, not needed for the bootstrap SDK compilation by [@&#8203;darkrift](https://github.com/darkrift) in [bazel-contrib#4644](https://github.com/bazel-contrib/rules_go/pull/4644) - Use param file to avoid argument list exceeding OS limit by [@&#8203;koonpeng](https://github.com/koonpeng) in [bazel-contrib#4649](https://github.com/bazel-contrib/rules_go/pull/4649) - Support --force\_pic for cgo interop by [@&#8203;keith](https://github.com/keith) in [bazel-contrib#4648](https://github.com/bazel-contrib/rules_go/pull/4648) - builders: filter test sources in place by [@&#8203;sluongng](https://github.com/sluongng) in [bazel-contrib#4646](https://github.com/bazel-contrib/rules_go/pull/4646) - compilepkg: skip duplicate cgo compile by [@&#8203;sluongng](https://github.com/sluongng) in [bazel-contrib#4645](https://github.com/bazel-contrib/rules_go/pull/4645) - Add dedicated load files for go\_binary(), go\_library(), go\_test() by [@&#8203;ericsalo](https://github.com/ericsalo) in [bazel-contrib#4655](https://github.com/bazel-contrib/rules_go/pull/4655) - Add tests for cgo ldflags response-file encoding for Go 1.27 by [@&#8203;darkrift](https://github.com/darkrift) in [bazel-contrib#4656](https://github.com/bazel-contrib/rules_go/pull/4656) - go: carry stdlib cgo link inputs into GoLink by [@&#8203;zbarsky-openai](https://github.com/zbarsky-openai) in [bazel-contrib#4657](https://github.com/bazel-contrib/rules_go/pull/4657) - Revert "Preserve common Go settings in go\_stdlib\_transition" by [@&#8203;fmeum](https://github.com/fmeum) in [bazel-contrib#4658](https://github.com/bazel-contrib/rules_go/pull/4658) ##### New Contributors - [@&#8203;michaelm-openai](https://github.com/michaelm-openai) made their first contribution in [bazel-contrib#4630](https://github.com/bazel-contrib/rules_go/pull/4630) - [@&#8203;reltuk](https://github.com/reltuk) made their first contribution in [bazel-contrib#4635](https://github.com/bazel-contrib/rules_go/pull/4635) - [@&#8203;tchung1118](https://github.com/tchung1118) made their first contribution in [bazel-contrib#4641](https://github.com/bazel-contrib/rules_go/pull/4641) - [@&#8203;darkrift](https://github.com/darkrift) made their first contribution in [bazel-contrib#4644](https://github.com/bazel-contrib/rules_go/pull/4644) - [@&#8203;ericsalo](https://github.com/ericsalo) made their first contribution in [bazel-contrib#4655](https://github.com/bazel-contrib/rules_go/pull/4655) - [@&#8203;zbarsky-openai](https://github.com/zbarsky-openai) made their first contribution in [bazel-contrib#4657](https://github.com/bazel-contrib/rules_go/pull/4657) **Full Changelog**: <https://github.com/bazel-contrib/rules_go/compare/v0.61.1...v0.62.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjQuMiIsInVwZGF0ZWRJblZlciI6IjQzLjIxLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0
Some checks failed
renovate/artifacts Artifact file update failure
Go / release (pull_request) Has been cancelled
ea9b9863aa
Author
Owner

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.mod
Command failed: bazel run //:go -- mod tidy
DEBUG: /var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/gazelle+/internal/bzlmod/go_deps.bzl:681:40: 
Mismatch between versions requested for Go module github.com/bazelbuild/rules_go:

  bazel_dep version (MODULE.bazel): 0.61.1 (as "rules_go")
  Go module version (go.mod):       0.62.0
 
Either ensure that you have

  bazel_dep(name = "rules_go", version = "0.62.0")

in your MODULE.bazel file or downgrade the Go module version via

  bazel run @rules_go//go -- get github.com/bazelbuild/rules_go@v0.61.1

INFO: Repo rules_cc++cc_configure_extension+local_config_cc defined by rule cc_autoconf in @@rules_cc+//cc/private/toolchain:cc_configure.bzl
ERROR: /var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/lib_cc_configure.bzl:112:9: An error occurred during the fetch of repository 'rules_cc++cc_configure_extension+local_config_cc':
   Traceback (most recent call last):
	File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/cc_configure.bzl", line 97, column 33, in cc_autoconf_impl
		configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools)
	File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/unix_cc_configure.bzl", line 359, column 23, in configure_unix_toolchain
		cc = _find_generic(repository_ctx, "gcc", "CC", overridden_tools)
	File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/unix_cc_configure.bzl", line 322, column 32, in _find_generic
		auto_configure_fail(msg)
	File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/lib_cc_configure.bzl", line 112, column 9, in auto_configure_fail
		fail("\n%sAuto-Configuration Error:%s %s\n" % (red, no_color, msg))
Error in fail: 
Auto-Configuration Error: Cannot find gcc or CC; either correct your path or set the CC environment variable
ERROR: no such package '@@rules_cc++cc_configure_extension+local_config_cc//': 
Auto-Configuration Error: Cannot find gcc or CC; either correct your path or set the CC environment variable
ERROR: /var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_go+/go/tools/go_bin_runner/BUILD.bazel:25:10: @@rules_go+//go/tools/go_bin_runner:go_bin_runner depends on @@rules_cc++cc_configure_extension+local_config_cc//:cc-compiler-k8 in repository @@rules_cc++cc_configure_extension+local_config_cc which failed to fetch. no such package '@@rules_cc++cc_configure_extension+local_config_cc//': 
Auto-Configuration Error: Cannot find gcc or CC; either correct your path or set the CC environment variable
ERROR: Analysis of target '//:go' failed; build aborted: Analysis failed
INFO: Elapsed time: 7.808s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: go.mod ``` Command failed: bazel run //:go -- mod tidy DEBUG: /var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/gazelle+/internal/bzlmod/go_deps.bzl:681:40: Mismatch between versions requested for Go module github.com/bazelbuild/rules_go: bazel_dep version (MODULE.bazel): 0.61.1 (as "rules_go") Go module version (go.mod): 0.62.0 Either ensure that you have bazel_dep(name = "rules_go", version = "0.62.0") in your MODULE.bazel file or downgrade the Go module version via bazel run @rules_go//go -- get github.com/bazelbuild/rules_go@v0.61.1 INFO: Repo rules_cc++cc_configure_extension+local_config_cc defined by rule cc_autoconf in @@rules_cc+//cc/private/toolchain:cc_configure.bzl ERROR: /var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/lib_cc_configure.bzl:112:9: An error occurred during the fetch of repository 'rules_cc++cc_configure_extension+local_config_cc': Traceback (most recent call last): File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/cc_configure.bzl", line 97, column 33, in cc_autoconf_impl configure_unix_toolchain(repository_ctx, cpu_value, overriden_tools) File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/unix_cc_configure.bzl", line 359, column 23, in configure_unix_toolchain cc = _find_generic(repository_ctx, "gcc", "CC", overridden_tools) File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/unix_cc_configure.bzl", line 322, column 32, in _find_generic auto_configure_fail(msg) File "/var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_cc+/cc/private/toolchain/lib_cc_configure.bzl", line 112, column 9, in auto_configure_fail fail("\n%sAuto-Configuration Error:%s %s\n" % (red, no_color, msg)) Error in fail: Auto-Configuration Error: Cannot find gcc or CC; either correct your path or set the CC environment variable ERROR: no such package '@@rules_cc++cc_configure_extension+local_config_cc//': Auto-Configuration Error: Cannot find gcc or CC; either correct your path or set the CC environment variable ERROR: /var/lib/forgejo/runner/.cache/bazel/_bazel_runner/34480a03541f25bd2c700ce481575ffc/external/rules_go+/go/tools/go_bin_runner/BUILD.bazel:25:10: @@rules_go+//go/tools/go_bin_runner:go_bin_runner depends on @@rules_cc++cc_configure_extension+local_config_cc//:cc-compiler-k8 in repository @@rules_cc++cc_configure_extension+local_config_cc which failed to fetch. no such package '@@rules_cc++cc_configure_extension+local_config_cc//': Auto-Configuration Error: Cannot find gcc or CC; either correct your path or set the CC environment variable ERROR: Analysis of target '//:go' failed; build aborted: Analysis failed INFO: Elapsed time: 7.808s, Critical Path: 0.00s INFO: 1 process: 1 internal. ERROR: Build did NOT complete successfully ERROR: Build failed. Not running target ```
prskr changed title from fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0 to Update module github.com/bazelbuild/rules_go to v0.62.0 2026-07-27 03:37:24 +00:00
prskr changed title from Update module github.com/bazelbuild/rules_go to v0.62.0 to fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0 2026-07-29 09:52:19 +00:00
prskr changed title from fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0 to Update module github.com/bazelbuild/rules_go to v0.62.0 2026-07-31 03:44:34 +00:00
prskr changed title from Update module github.com/bazelbuild/rules_go to v0.62.0 to fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0 2026-08-02 03:38:56 +00:00
prskr changed title from fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0 to Update module github.com/bazelbuild/rules_go to v0.62.0 2026-08-07 03:38:47 +00:00
prskr changed title from Update module github.com/bazelbuild/rules_go to v0.62.0 to fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0 2026-08-09 03:38:34 +00:00
prskr changed title from fix(deps): update module github.com/bazelbuild/rules_go to v0.62.0 to Update module github.com/bazelbuild/rules_go to v0.62.0 2026-08-13 17:34:58 +00:00
prskr merged commit 199ffa958c into main 2026-08-13 17:37:16 +00:00
prskr deleted branch renovate/github.com-bazelbuild-rules_go-0.x 2026-08-13 17:37:17 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prskr/meilisearch-operator!64
No description provided.