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
golang.org/x/sys/windows: Can't compile windows app #54462
Comments
Sorry, Go 1.10 is no longer supported. You'll need to use at least Go 1.13. And you may need to set |
ianlancetaylor But what happened with golang.org/x/sys? |
Backwards compatibility means old code will run with newer language versions. Here you're trying to run new code with older language versions. This isn't covered by any compatibility promises. |
@stranger-inthenight To put it another way, what happened is that somebody committed a change to x/sys/windows that uses a language feature that was added in Go 1.13. This is permitted as the current version of x/sys/windows is only expected to be used with currently supported versions of Go. |
Got it! Thank you for the comments |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, since 1.13.0
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
No errors and warnings. Backward compatibility exists
What did you see instead?
The text was updated successfully, but these errors were encountered: