Skip to content
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

update version of rules_go #1940

Conversation

francine-blanc
Copy link

What type of PR is this?

Bug fix

What package or component does this PR mostly affect?

language/go
cmd/gazelle

What does this PR do? Why is it needed?

This is a small PR to update the version of rules_go used by gazelle for bzlmod.

When more known platforms were added in this PR: #1853, the version of rules_go in the MODULE.bazel was not updated to 0.50.1 (the earliest release the change appears in). This means that although gazelle depends on a newer version of rules_go, which pulls in all of these additional platforms, without the newer version of rules_go being referenced in the MODULE.bazel, errors such as the following are seen:
no such target '@@rules_go~//go/platform:qnx': target 'qnx' not declared in package 'go/platform' when attempting to build a binary with a go_dependency that refers to these platforms.

Which issues(s) does this PR fix?

n/a

Other notes for review

@fmeum fmeum force-pushed the update-rules-go-in-gazelle branch from ed1731b to d3dab59 Compare September 30, 2024 20:44
@francine-blanc francine-blanc force-pushed the update-rules-go-in-gazelle branch from d3dab59 to 293a67e Compare October 2, 2024 11:20
@fmeum
Copy link
Member

fmeum commented Oct 2, 2024

Sorry, forgot about your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants