bazelbuild / rules_cc

C++ Rules for Bazel
https://bazel.build
Apache License 2.0
176 stars 88 forks source link

Update dependency io_bazel_rules_go to v0.42.0 #201

Closed renovate-bot closed 9 months ago

renovate-bot commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
io_bazel_rules_go http_archive minor v0.41.0 -> v0.42.0

Release Notes

bazelbuild/rules_go (io_bazel_rules_go) ### [`v0.42.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.42.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.41.0...v0.42.0) #### What's Changed **Added `patches` to `go_download_sdk`**: Patches can now be applied to the standard library using `go_download_sdk` (and `go_sdk.download` for Bzlmod). Example: go_download_sdk( name = "go_sdk", sdks = { "linux_amd64": ( "go{}.linux-amd64.mirror6598503.tar.gz".format(go_version), "3f5c50e592d8845d30eebd08ddb9c670fd2d909e032b6c2b83ecf97afb34660c", ), "darwin_arm64": ( "go{}.darwin-arm64.mirror6598503.tar.gz".format(go_version), "fbe78beee7861da09de9319498a1521bc41a8b79d3ead2218ce307b9fa5503e5", ), }, patches = [ "//patches:golang_osx_dns_workaround.patch", ], urls = ["https://dl.google.com/go/{}"], version = go_version, ) Other changes included: - [`d1da1bb`](https://togithub.com/bazelbuild/rules_go/commit/d1da1bb5) Infer importpath if not set explicitly by [@​mering](https://togithub.com/mering) ([#​3705](https://togithub.com/bazelbuild/rules_go/issues/3705)) - [`7309aba`](https://togithub.com/bazelbuild/rules_go/commit/7309aba8) Mark `go_sdk` module extension as `{os,arch}_dependent` by [@​fmeum](https://togithub.com/fmeum) ([#​3703](https://togithub.com/bazelbuild/rules_go/issues/3703)) - [`09a206c`](https://togithub.com/bazelbuild/rules_go/commit/09a206c8) Symlink all SDK files with `go_local_sdk` by [@​fmeum](https://togithub.com/fmeum) ([#​3696](https://togithub.com/bazelbuild/rules_go/issues/3696)) - [`9ebc93c`](https://togithub.com/bazelbuild/rules_go/commit/9ebc93cc) \[go_sdk download] allow patches to standard library by [@​tyler-french](https://togithub.com/tyler-french) ([#​3684](https://togithub.com/bazelbuild/rules_go/issues/3684)) - [`f03a723`](https://togithub.com/bazelbuild/rules_go/commit/f03a723c) bzltestutil: move os.Chdir call into new package by [@​jayconrod](https://togithub.com/jayconrod) ([#​3681](https://togithub.com/bazelbuild/rules_go/issues/3681)) - [`a8cb4b7`](https://togithub.com/bazelbuild/rules_go/commit/a8cb4b79) bzltestutil: set importmap to fix run_dir by [@​jayconrod](https://togithub.com/jayconrod) ([#​3679](https://togithub.com/bazelbuild/rules_go/issues/3679)) - [`85f2440`](https://togithub.com/bazelbuild/rules_go/commit/85f24400) Fix: update gomock.bzl by poping incompatible argument by [@​yongruilin](https://togithub.com/yongruilin) ([#​3674](https://togithub.com/bazelbuild/rules_go/issues/3674)) - [`5206498`](https://togithub.com/bazelbuild/rules_go/commit/5206498b) use carved out module for x/tools/go/vcs by [@​malt3](https://togithub.com/malt3) ([#​3671](https://togithub.com/bazelbuild/rules_go/issues/3671)) - [`2e821f6`](https://togithub.com/bazelbuild/rules_go/commit/2e821f66) cgo packages with assembly: Support CGO_ENABLED=0 by [@​evanj](https://togithub.com/evanj) ([#​3661](https://togithub.com/bazelbuild/rules_go/issues/3661)) - [`f64211a`](https://togithub.com/bazelbuild/rules_go/commit/f64211a8) bzlmod: Add missing experiments and strip_prefix arguments by [@​fmeum](https://togithub.com/fmeum) ([#​3443](https://togithub.com/bazelbuild/rules_go/issues/3443)) ([#​3663](https://togithub.com/bazelbuild/rules_go/issues/3663)) - [`0da92cd`](https://togithub.com/bazelbuild/rules_go/commit/0da92cd6) go_context: set GOTOOLCHAIN to 'local' by [@​sluongng](https://togithub.com/sluongng) ([#​3660](https://togithub.com/bazelbuild/rules_go/issues/3660)) - [`edf5b64`](https://togithub.com/bazelbuild/rules_go/commit/edf5b64c) compilepkg: cgo assembly uses the C compiler by [@​evanj](https://togithub.com/evanj) ([#​3648](https://togithub.com/bazelbuild/rules_go/issues/3648)) - [`6e10f8c`](https://togithub.com/bazelbuild/rules_go/commit/6e10f8c2) go/tools/gopackagesdriver: pass Compiler and Arch in DriverResponse by [@​matloob](https://togithub.com/matloob) ([#​3657](https://togithub.com/bazelbuild/rules_go/issues/3657)) - [`f5ae196`](https://togithub.com/bazelbuild/rules_go/commit/f5ae196b) \[proto] Allow multiple outputs from a proto compiler by [@​tingilee](https://togithub.com/tingilee) ([#​3650](https://togithub.com/bazelbuild/rules_go/issues/3650)) - [`57ef719`](https://togithub.com/bazelbuild/rules_go/commit/57ef719d) Add pgo support for go 1.20 by [@​prestonvanloon](https://togithub.com/prestonvanloon) ([#​3641](https://togithub.com/bazelbuild/rules_go/issues/3641)) - [`ce32021`](https://togithub.com/bazelbuild/rules_go/commit/ce320216) Migrate `exec_tools` to `tools` on `genrule` by [@​fmeum](https://togithub.com/fmeum) ([#​3638](https://togithub.com/bazelbuild/rules_go/issues/3638)) - [`98165a6`](https://togithub.com/bazelbuild/rules_go/commit/98165a62) Honor `//go/config:linkmode` for `go_test` by [@​fmeum](https://togithub.com/fmeum) ([#​3629](https://togithub.com/bazelbuild/rules_go/issues/3629)) - [`61c1e91`](https://togithub.com/bazelbuild/rules_go/commit/61c1e91d) Fix `//go/config:linkmode` flag value not being effective by [@​fmeum](https://togithub.com/fmeum) ([#​3627](https://togithub.com/bazelbuild/rules_go/issues/3627)) - [`b0a9851`](https://togithub.com/bazelbuild/rules_go/commit/b0a98519) Remove deprecated rules by [@​sluongng](https://togithub.com/sluongng) ([#​3538](https://togithub.com/bazelbuild/rules_go/issues/3538)) - [`d2a3cf2`](https://togithub.com/bazelbuild/rules_go/commit/d2a3cf2d) Fix compilation_outputs_test on Windows with latest Bazel by [@​fmeum](https://togithub.com/fmeum) ([#​3623](https://togithub.com/bazelbuild/rules_go/issues/3623)) **Full Changelog**: https://github.com/bazelbuild/rules_go/compare/v0.41.0...v0.42.0 #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.21.1")

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.



This PR has been generated by Mend Renovate. View repository job log here.