github bazel-contrib/rules_go v0.59.0

18 hours ago

WORKSPACE code

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "68af54cb97fbdee5e5e8fe8d210d15a518f9d62abfd71620c3eaff3b26a5ff86",
    urls = [
        "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.59.0/rules_go-v0.59.0.zip",
        "https://github.com/bazel-contrib/rules_go/releases/download/v0.59.0/rules_go-v0.59.0.zip",
    ],
)

load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.25.4")

# 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

  • Reland "go_sdk: store SDK filenames and hashes in lockfile facts" by @fmeum in #4493
  • correct macOS Tahoe 26 build via apple_support by @jmhodges in #4500
  • remove .vscode and gitignore it by @jmhodges in #4498
  • Fix BCR test module for Bazel 9 by @fmeum in #4503
  • docs: copy editor setup instructions from wiki to docs/editors.md by @jayconrod in #4504
  • Add riscv64 into BAZEL_GOARCH_CONSTRAINTS by @ffgan in #4507
  • Add missing load statements by @keith in #4508

New Contributors

Full Changelog: v0.58.3...v0.59.0

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.