-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass correct (non "main"
) importpath to nogo for main
package
#3863
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bac576a
to
e0852f3
Compare
Failing tests appear to be due to grailbio/bazel-toolchain being move to bazel-contrib/toolchains_llvm https://bazelbuild.slack.com/archives/CA31HN1T3/p1707845173596379 |
fmeum
approved these changes
Feb 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I will merge after fixing the pipeline.
e0852f3
to
9c4ebc2
Compare
Strum355
added a commit
to sourcegraph/sourcegraph
that referenced
this pull request
Apr 8, 2024
Updating the patch based on bazelbuild/rules_go#3863 having been merged, the old patch doesn't apply cleanly to 0.46.0 anyway. ## Test plan CI
cgrindel-self-hosted-renovate bot
added a commit
to cgrindel/bazel-starlib
that referenced
this pull request
Apr 23, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | minor | `v0.46.0` -> `v0.47.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.47.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0) #### `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](https://togithub.com/fmeum) in [bazelbuild/rules_go#3861 - Update toolchains_llvm URL and hash by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3864 - pass correct (non `"main"`) importpath to nogo for `main` package by [@​Strum355](https://togithub.com/Strum355) in [bazelbuild/rules_go#3863 - Make exec cfg check for `//go` stricter by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3867 - Fixes the Bazel CI error by [@​sgowroji](https://togithub.com/sgowroji) in [bazelbuild/rules_go#3869 - \[go_library] add .x file to declared output files in DefaultInfo by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3866 - Remove Latin-1 workaround on Bazel 6.4.0+ by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [bazelbuild/rules_go#3872 - fix sdk download for common execution platforms by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3874 - Bump Go version to 1.21.8 by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3880 - Update README.rst to point to correct GH release tags by [@​dcarney](https://togithub.com/dcarney) in [bazelbuild/rules_go#3881 - Update bzlmod.md fix typo by [@​mmrath](https://togithub.com/mmrath) in [bazelbuild/rules_go#3882 - Cleanup temp dirs in GoToolchainBinaryBuild by [@​hauserx](https://togithub.com/hauserx) in [bazelbuild/rules_go#3885 - gopackagesdriver: move and simplify test by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3856 - Support Go version schema change since 1.21 by [@​baizhenyu](https://togithub.com/baizhenyu) in [bazelbuild/rules_go#3891 - gopackagesdriver: fix version check with Bazel development versions by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3893 - Revert "improving logging for subcommand failure ([#​3824](https://togithub.com/bazelbuild/rules_go/issues/3824))" by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3892 - Replace instances of to_json() method with json.encode(..) by [@​c-mita](https://togithub.com/c-mita) in [bazelbuild/rules_go#3896 - add nogo parsing support for nogo explanations by [@​andyscott](https://togithub.com/andyscott) in [bazelbuild/rules_go#3899 - \[nogo] match regexp againts relative paths by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3898 - Add `bazel_features` transitive `.bzl`s to `bzl_library` targets by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3903 - Add //go/private:polyfill_bazel_features.bzl to sources. by [@​spags-lacework](https://togithub.com/spags-lacework) in [bazelbuild/rules_go#3908 - Reformat with buildifier by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3910 - GoLink action. Use -extar <ar path> if cc_toolchain provides ar path by [@​OparinE](https://togithub.com/OparinE) in [bazelbuild/rules_go#3916 - Mark `go_sdk` extension as `reproducible` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3911 - Don't ignore the return value of runfiles.merge_all() by [@​EdSchouten](https://togithub.com/EdSchouten) in [bazelbuild/rules_go#3918 - Use Gazelle's `go_env` in `@rules_go//go` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3909 - Setting test.timeout according to TEST_TIMEOUT by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3920 - prepare rules_go v 0.47 by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3923 #### New Contributors - [@​Strum355](https://togithub.com/Strum355) made their first contribution in [bazelbuild/rules_go#3863 - [@​sgowroji](https://togithub.com/sgowroji) made their first contribution in [bazelbuild/rules_go#3869 - [@​mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [bazelbuild/rules_go#3872 - [@​scaiper](https://togithub.com/scaiper) made their first contribution in [bazelbuild/rules_go#3874 - [@​dcarney](https://togithub.com/dcarney) made their first contribution in [bazelbuild/rules_go#3881 - [@​mmrath](https://togithub.com/mmrath) made their first contribution in [bazelbuild/rules_go#3882 - [@​hauserx](https://togithub.com/hauserx) made their first contribution in [bazelbuild/rules_go#3885 - [@​baizhenyu](https://togithub.com/baizhenyu) made their first contribution in [bazelbuild/rules_go#3891 - [@​c-mita](https://togithub.com/c-mita) made their first contribution in [bazelbuild/rules_go#3896 - [@​spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [bazelbuild/rules_go#3908 - [@​OparinE](https://togithub.com/OparinE) made their first contribution in [bazelbuild/rules_go#3916 **Full Changelog**: bazelbuild/rules_go@v0.46.0...v0.47.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
renovate bot
added a commit
to kreempuff/rules_unreal_engine
that referenced
this pull request
Apr 23, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | minor | `v0.46.0` -> `v0.47.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.47.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0) #### `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](https://togithub.com/fmeum) in [bazelbuild/rules_go#3861 - Update toolchains_llvm URL and hash by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3864 - pass correct (non `"main"`) importpath to nogo for `main` package by [@​Strum355](https://togithub.com/Strum355) in [bazelbuild/rules_go#3863 - Make exec cfg check for `//go` stricter by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3867 - Fixes the Bazel CI error by [@​sgowroji](https://togithub.com/sgowroji) in [bazelbuild/rules_go#3869 - \[go_library] add .x file to declared output files in DefaultInfo by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3866 - Remove Latin-1 workaround on Bazel 6.4.0+ by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [bazelbuild/rules_go#3872 - fix sdk download for common execution platforms by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3874 - Bump Go version to 1.21.8 by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3880 - Update README.rst to point to correct GH release tags by [@​dcarney](https://togithub.com/dcarney) in [bazelbuild/rules_go#3881 - Update bzlmod.md fix typo by [@​mmrath](https://togithub.com/mmrath) in [bazelbuild/rules_go#3882 - Cleanup temp dirs in GoToolchainBinaryBuild by [@​hauserx](https://togithub.com/hauserx) in [bazelbuild/rules_go#3885 - gopackagesdriver: move and simplify test by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3856 - Support Go version schema change since 1.21 by [@​baizhenyu](https://togithub.com/baizhenyu) in [bazelbuild/rules_go#3891 - gopackagesdriver: fix version check with Bazel development versions by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3893 - Revert "improving logging for subcommand failure ([#​3824](https://togithub.com/bazelbuild/rules_go/issues/3824))" by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3892 - Replace instances of to_json() method with json.encode(..) by [@​c-mita](https://togithub.com/c-mita) in [bazelbuild/rules_go#3896 - add nogo parsing support for nogo explanations by [@​andyscott](https://togithub.com/andyscott) in [bazelbuild/rules_go#3899 - \[nogo] match regexp againts relative paths by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3898 - Add `bazel_features` transitive `.bzl`s to `bzl_library` targets by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3903 - Add //go/private:polyfill_bazel_features.bzl to sources. by [@​spags-lacework](https://togithub.com/spags-lacework) in [bazelbuild/rules_go#3908 - Reformat with buildifier by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3910 - GoLink action. Use -extar <ar path> if cc_toolchain provides ar path by [@​OparinE](https://togithub.com/OparinE) in [bazelbuild/rules_go#3916 - Mark `go_sdk` extension as `reproducible` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3911 - Don't ignore the return value of runfiles.merge_all() by [@​EdSchouten](https://togithub.com/EdSchouten) in [bazelbuild/rules_go#3918 - Use Gazelle's `go_env` in `@rules_go//go` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3909 - Setting test.timeout according to TEST_TIMEOUT by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3920 - prepare rules_go v 0.47 by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3923 #### New Contributors - [@​Strum355](https://togithub.com/Strum355) made their first contribution in [bazelbuild/rules_go#3863 - [@​sgowroji](https://togithub.com/sgowroji) made their first contribution in [bazelbuild/rules_go#3869 - [@​mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [bazelbuild/rules_go#3872 - [@​scaiper](https://togithub.com/scaiper) made their first contribution in [bazelbuild/rules_go#3874 - [@​dcarney](https://togithub.com/dcarney) made their first contribution in [bazelbuild/rules_go#3881 - [@​mmrath](https://togithub.com/mmrath) made their first contribution in [bazelbuild/rules_go#3882 - [@​hauserx](https://togithub.com/hauserx) made their first contribution in [bazelbuild/rules_go#3885 - [@​baizhenyu](https://togithub.com/baizhenyu) made their first contribution in [bazelbuild/rules_go#3891 - [@​c-mita](https://togithub.com/c-mita) made their first contribution in [bazelbuild/rules_go#3896 - [@​spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [bazelbuild/rules_go#3908 - [@​OparinE](https://togithub.com/OparinE) made their first contribution in [bazelbuild/rules_go#3916 **Full Changelog**: bazelbuild/rules_go@v0.46.0...v0.47.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kreempuff/rules_unreal_engine). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
cgrindel-self-hosted-renovate bot
added a commit
to cgrindel/rules_swift_package_manager
that referenced
this pull request
Apr 24, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | minor | `v0.46.0` -> `v0.47.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.47.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0) #### `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](https://togithub.com/fmeum) in [bazelbuild/rules_go#3861 - Update toolchains_llvm URL and hash by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3864 - pass correct (non `"main"`) importpath to nogo for `main` package by [@​Strum355](https://togithub.com/Strum355) in [bazelbuild/rules_go#3863 - Make exec cfg check for `//go` stricter by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3867 - Fixes the Bazel CI error by [@​sgowroji](https://togithub.com/sgowroji) in [bazelbuild/rules_go#3869 - \[go_library] add .x file to declared output files in DefaultInfo by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3866 - Remove Latin-1 workaround on Bazel 6.4.0+ by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [bazelbuild/rules_go#3872 - fix sdk download for common execution platforms by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3874 - Bump Go version to 1.21.8 by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3880 - Update README.rst to point to correct GH release tags by [@​dcarney](https://togithub.com/dcarney) in [bazelbuild/rules_go#3881 - Update bzlmod.md fix typo by [@​mmrath](https://togithub.com/mmrath) in [bazelbuild/rules_go#3882 - Cleanup temp dirs in GoToolchainBinaryBuild by [@​hauserx](https://togithub.com/hauserx) in [bazelbuild/rules_go#3885 - gopackagesdriver: move and simplify test by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3856 - Support Go version schema change since 1.21 by [@​baizhenyu](https://togithub.com/baizhenyu) in [bazelbuild/rules_go#3891 - gopackagesdriver: fix version check with Bazel development versions by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3893 - Revert "improving logging for subcommand failure ([#​3824](https://togithub.com/bazelbuild/rules_go/issues/3824))" by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3892 - Replace instances of to_json() method with json.encode(..) by [@​c-mita](https://togithub.com/c-mita) in [bazelbuild/rules_go#3896 - add nogo parsing support for nogo explanations by [@​andyscott](https://togithub.com/andyscott) in [bazelbuild/rules_go#3899 - \[nogo] match regexp againts relative paths by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3898 - Add `bazel_features` transitive `.bzl`s to `bzl_library` targets by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3903 - Add //go/private:polyfill_bazel_features.bzl to sources. by [@​spags-lacework](https://togithub.com/spags-lacework) in [bazelbuild/rules_go#3908 - Reformat with buildifier by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3910 - GoLink action. Use -extar <ar path> if cc_toolchain provides ar path by [@​OparinE](https://togithub.com/OparinE) in [bazelbuild/rules_go#3916 - Mark `go_sdk` extension as `reproducible` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3911 - Don't ignore the return value of runfiles.merge_all() by [@​EdSchouten](https://togithub.com/EdSchouten) in [bazelbuild/rules_go#3918 - Use Gazelle's `go_env` in `@rules_go//go` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3909 - Setting test.timeout according to TEST_TIMEOUT by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3920 - prepare rules_go v 0.47 by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3923 #### New Contributors - [@​Strum355](https://togithub.com/Strum355) made their first contribution in [bazelbuild/rules_go#3863 - [@​sgowroji](https://togithub.com/sgowroji) made their first contribution in [bazelbuild/rules_go#3869 - [@​mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [bazelbuild/rules_go#3872 - [@​scaiper](https://togithub.com/scaiper) made their first contribution in [bazelbuild/rules_go#3874 - [@​dcarney](https://togithub.com/dcarney) made their first contribution in [bazelbuild/rules_go#3881 - [@​mmrath](https://togithub.com/mmrath) made their first contribution in [bazelbuild/rules_go#3882 - [@​hauserx](https://togithub.com/hauserx) made their first contribution in [bazelbuild/rules_go#3885 - [@​baizhenyu](https://togithub.com/baizhenyu) made their first contribution in [bazelbuild/rules_go#3891 - [@​c-mita](https://togithub.com/c-mita) made their first contribution in [bazelbuild/rules_go#3896 - [@​spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [bazelbuild/rules_go#3908 - [@​OparinE](https://togithub.com/OparinE) made their first contribution in [bazelbuild/rules_go#3916 **Full Changelog**: bazelbuild/rules_go@v0.46.0...v0.47.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
fmeum
pushed a commit
to bazel-contrib/toolchains_llvm
that referenced
this pull request
May 2, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | minor | `v0.46.0` -> `v0.47.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.47.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0) #### `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](https://togithub.com/fmeum) in [bazelbuild/rules_go#3861 - Update toolchains_llvm URL and hash by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3864 - pass correct (non `"main"`) importpath to nogo for `main` package by [@​Strum355](https://togithub.com/Strum355) in [bazelbuild/rules_go#3863 - Make exec cfg check for `//go` stricter by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3867 - Fixes the Bazel CI error by [@​sgowroji](https://togithub.com/sgowroji) in [bazelbuild/rules_go#3869 - \[go_library] add .x file to declared output files in DefaultInfo by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3866 - Remove Latin-1 workaround on Bazel 6.4.0+ by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [bazelbuild/rules_go#3872 - fix sdk download for common execution platforms by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3874 - Bump Go version to 1.21.8 by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3880 - Update README.rst to point to correct GH release tags by [@​dcarney](https://togithub.com/dcarney) in [bazelbuild/rules_go#3881 - Update bzlmod.md fix typo by [@​mmrath](https://togithub.com/mmrath) in [bazelbuild/rules_go#3882 - Cleanup temp dirs in GoToolchainBinaryBuild by [@​hauserx](https://togithub.com/hauserx) in [bazelbuild/rules_go#3885 - gopackagesdriver: move and simplify test by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3856 - Support Go version schema change since 1.21 by [@​baizhenyu](https://togithub.com/baizhenyu) in [bazelbuild/rules_go#3891 - gopackagesdriver: fix version check with Bazel development versions by [@​jayconrod](https://togithub.com/jayconrod) in [bazelbuild/rules_go#3893 - Revert "improving logging for subcommand failure ([#​3824](https://togithub.com/bazelbuild/rules_go/issues/3824))" by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3892 - Replace instances of to_json() method with json.encode(..) by [@​c-mita](https://togithub.com/c-mita) in [bazelbuild/rules_go#3896 - add nogo parsing support for nogo explanations by [@​andyscott](https://togithub.com/andyscott) in [bazelbuild/rules_go#3899 - \[nogo] match regexp againts relative paths by [@​scaiper](https://togithub.com/scaiper) in [bazelbuild/rules_go#3898 - Add `bazel_features` transitive `.bzl`s to `bzl_library` targets by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3903 - Add //go/private:polyfill_bazel_features.bzl to sources. by [@​spags-lacework](https://togithub.com/spags-lacework) in [bazelbuild/rules_go#3908 - Reformat with buildifier by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3910 - GoLink action. Use -extar <ar path> if cc_toolchain provides ar path by [@​OparinE](https://togithub.com/OparinE) in [bazelbuild/rules_go#3916 - Mark `go_sdk` extension as `reproducible` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3911 - Don't ignore the return value of runfiles.merge_all() by [@​EdSchouten](https://togithub.com/EdSchouten) in [bazelbuild/rules_go#3918 - Use Gazelle's `go_env` in `@rules_go//go` by [@​fmeum](https://togithub.com/fmeum) in [bazelbuild/rules_go#3909 - Setting test.timeout according to TEST_TIMEOUT by [@​linzhp](https://togithub.com/linzhp) in [bazelbuild/rules_go#3920 - prepare rules_go v 0.47 by [@​tyler-french](https://togithub.com/tyler-french) in [bazelbuild/rules_go#3923 #### New Contributors - [@​Strum355](https://togithub.com/Strum355) made their first contribution in [bazelbuild/rules_go#3863 - [@​sgowroji](https://togithub.com/sgowroji) made their first contribution in [bazelbuild/rules_go#3869 - [@​mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [bazelbuild/rules_go#3872 - [@​scaiper](https://togithub.com/scaiper) made their first contribution in [bazelbuild/rules_go#3874 - [@​dcarney](https://togithub.com/dcarney) made their first contribution in [bazelbuild/rules_go#3881 - [@​mmrath](https://togithub.com/mmrath) made their first contribution in [bazelbuild/rules_go#3882 - [@​hauserx](https://togithub.com/hauserx) made their first contribution in [bazelbuild/rules_go#3885 - [@​baizhenyu](https://togithub.com/baizhenyu) made their first contribution in [bazelbuild/rules_go#3891 - [@​c-mita](https://togithub.com/c-mita) made their first contribution in [bazelbuild/rules_go#3896 - [@​spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [bazelbuild/rules_go#3908 - [@​OparinE](https://togithub.com/OparinE) made their first contribution in [bazelbuild/rules_go#3916 **Full Changelog**: bazelbuild/rules_go@v0.46.0...v0.47.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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Bug fix
What does this PR do? Why is it needed?
In #2135, the importmap passed to
emit_compilepkg
is"main"
ifis_main
is set (typically via thego_binary
rule). This value also gets sent to nogo, which is the wrong value to send for amain
package:Minimal reproduction using
x/tools/go/analysis/singlechecker
Which issues(s) does this PR fix?
No issue opened. Should I open one alongside this PR?
Other notes for review
My original note of the issue: sourcegraph/sourcegraph#54836 (comment)
PR where I introduced a first-iteration patch: https://github.com/sourcegraph/sourcegraph/pull/58971/files
I'd been meaning to open a PR for this here for some time, but only found the time to do so now. Apologies!