-
Notifications
You must be signed in to change notification settings - Fork 18.1k
cmd/api: remove contexts slice by parsing go tool dist list -json
output
#14892
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
Comments
@minux Any news on this? |
@quentinmit, can you fix this please? |
CL https://golang.org/cl/31364 mentions this issue. |
This has become very complicated. I have the patch to do this, but it uncovers years of API diff as a result. I need to improve the api tool's diff algorithm to handle these sanely. |
Yeah, that is also the problem I ran into when I was trying to fix this....
|
Once you remove the two oddballs which don't matter (
Looks easy enough to fix. |
CL https://golang.org/cl/31446 mentions this issue. |
Updates #14892 Change-Id: I640c6e1635ccdf611f219521a7d297a9885c4cb3 Reviewed-on: https://go-review.googlesource.com/31446 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
I've updated my CL to include an improved diff algorithm that generates a short(er) diff, and does not report spurious symbol removals for the new GOOS and GOARCH combinations. This means we can include |
The current set of GOOS/GOARCH in
Using all existing ports might be very costly. Restricting the run to first class ports seems to fit the purpose of the issue. |
Change https://golang.org/cl/322309 mentions this issue: |
Change https://golang.org/cl/342809 mentions this issue: |
Change https://go.dev/cl/460536 mentions this issue: |
It's discovered in https://golang.org/cl/20935 that cmd/api contains
a copy of supported platforms along with their cgo support status.
We should remove those hardcoded values and use
go tool dist list -json
instead.
The text was updated successfully, but these errors were encountered: