WORKSPACE
code
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "af47f30e9cbd70ae34e49866e201b3f77069abb111183f2c0297e7e74ba6bbc0",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.22.2")
What's Changed
- Add Bazel version matrix to BCR
presubmit.yml
by @fmeum in #3861 - Update toolchains_llvm URL and hash by @fmeum in #3864
- pass correct (non
"main"
) importpath to nogo formain
package by @Strum355 in #3863 - Make exec cfg check for
//go
stricter by @fmeum in #3867 - Fixes the Bazel CI error by @sgowroji in #3869
- [go_library] add .x file to declared output files in DefaultInfo by @tyler-french in #3866
- Remove Latin-1 workaround on Bazel 6.4.0+ by @mattyclarkson in #3872
- fix sdk download for common execution platforms by @scaiper in #3874
- Bump Go version to 1.21.8 by @fmeum in #3880
- Update README.rst to point to correct GH release tags by @dcarney in #3881
- Update bzlmod.md fix typo by @mmrath in #3882
- Cleanup temp dirs in GoToolchainBinaryBuild by @hauserx in #3885
- gopackagesdriver: move and simplify test by @jayconrod in #3856
- Support Go version schema change since 1.21 by @baizhenyu in #3891
- gopackagesdriver: fix version check with Bazel development versions by @jayconrod in #3893
- Revert "improving logging for subcommand failure (#3824)" by @linzhp in #3892
- Replace instances of to_json() method with json.encode(..) by @c-mita in #3896
- add nogo parsing support for nogo explanations by @andyscott in #3899
- [nogo] match regexp againts relative paths by @scaiper in #3898
- Add
bazel_features
transitive.bzl
s tobzl_library
targets by @fmeum in #3903 - Add //go/private:polyfill_bazel_features.bzl to sources. by @spags-lacework in #3908
- Reformat with buildifier by @fmeum in #3910
- GoLink action. Use -extar if cc_toolchain provides ar path by @OparinE in #3916
- Mark
go_sdk
extension asreproducible
by @fmeum in #3911 - Don't ignore the return value of runfiles.merge_all() by @EdSchouten in #3918
- Use Gazelle's
go_env
in@rules_go//go
by @fmeum in #3909 - Setting test.timeout according to TEST_TIMEOUT by @linzhp in #3920
- prepare rules_go v 0.47 by @tyler-french in #3923
New Contributors
- @Strum355 made their first contribution in #3863
- @sgowroji made their first contribution in #3869
- @mattyclarkson made their first contribution in #3872
- @scaiper made their first contribution in #3874
- @dcarney made their first contribution in #3881
- @mmrath made their first contribution in #3882
- @hauserx made their first contribution in #3885
- @baizhenyu made their first contribution in #3891
- @c-mita made their first contribution in #3896
- @spags-lacework made their first contribution in #3908
- @OparinE made their first contribution in #3916
Full Changelog: v0.46.0...v0.47.0