golang/go
View on GitHubcmd/api: remove contexts slice by parsing `go tool dist list -json` output
Open
#14,892 opened on Mar 21, 2016
NeedsFixhelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
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.