Open
Description
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.
Metadata
Metadata
Assignees
Type
Projects
Status
Planned
Relationships
Development
No branches or pull requests
Activity
quentinmit commentedon Oct 5, 2016
@minux Any news on this?
rsc commentedon Oct 18, 2016
@quentinmit, can you fix this please?
gopherbot commentedon Oct 18, 2016
CL https://golang.org/cl/31364 mentions this issue.
quentinmit commentedon Oct 18, 2016
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.
minux commentedon Oct 18, 2016
bradfitz commentedon Oct 19, 2016
Once you remove the two oddballs which don't matter (
nacl
andplan9
), then there are only a few problems:Looks easy enough to fix.
gopherbot commentedon Oct 19, 2016
CL https://golang.org/cl/31446 mentions this issue.
syscall: make Utimes on Solaris match all the other geese
5 remaining items
iwdgo commentedon May 24, 2021
The current set of GOOS/GOARCH in
cmd/api
combines the first class ports, now listed bygo tool dist list -json
supplemented by a selection:Using all existing ports might be very costly. Restricting the run to first class ports seems to fit the purpose of the issue.
gopherbot commentedon May 24, 2021
Change https://golang.org/cl/322309 mentions this issue:
cmd/api: set first class ports as default
gopherbot commentedon Aug 17, 2021
Change https://golang.org/cl/342809 mentions this issue:
cmd/api: remove default API check for openbsd amd64
gopherbot commentedon Jan 4, 2023
Change https://go.dev/cl/460536 mentions this issue:
cmd/api: run check on first class ports