Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/sys/windows: compile error with Go 1.11 #34742
What version of Go are you using (
This is a bit cleaner and makes it more explicit what's happening, along with a documenting comment. Change-Id: I30c92f8576c72b05ebdb4634c68023237bde3cbf Reviewed-on: https://go-review.googlesource.com/c/sys/+/199519 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Ian Lance Taylor <firstname.lastname@example.org>
No, it isn't.
For certain low-level or important packages, though, we try not to unnecessarily break old users. At least in some sort of best effort untested fashion, which is kinda lame. I think we should be definitive about saying "no, we don't support that" or actually make it tested.
But the current situation is somewhere in between: we don't test Go 1.11 at all, but at the same time this kinda sucks, breaking Go 1.11 users for something like this.
So maybe it's time to just say that Go 1.11 users should use an older version of this package, or something on the Go 1.11 branch (release-branch.go1.11).
Do I have to upgrade go to newer version or is there a workaround?