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

rules_go should work with Go versions older than 1.20 #1826

Closed
shs96c opened this issue Jun 18, 2024 · 0 comments · Fixed by #1833
Closed

rules_go should work with Go versions older than 1.20 #1826

shs96c opened this issue Jun 18, 2024 · 0 comments · Fixed by #1833

Comments

@shs96c
Copy link
Contributor

shs96c commented Jun 18, 2024

What version of gazelle are you using?

0.37.0

What version of rules_go are you using?

0.48.0

What version of Bazel are you using?

7.2.0

Does this issue reproduce with the latest releases of all the above?

Yes

What operating system and processor architecture are you using?

macOS

What did you do?

Attempted to use an older version of Go (1.18) to build a project

What did you expect to see?

Everything should Just Work

What did you see instead?

go_mod_download.go uses errors.Join which was introduced in Go 1.20. Because of this, it could not be compiled, which causes runs of gazelle to fail.

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 a pull request may close this issue.

1 participant