mirror of
https://github.com/golang/go
synced 2024-11-14 22:40:40 -07:00
cmd/dist, internal/syslist: update UnixOS comments
Update the comments about the list of Unix systems after CL 601357, which moved one copy and eliminated another. Change-Id: I12f5b14a53ce6f8b3a41c9a10f947465c291e2b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/623035 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
3ae5ff2a27
commit
375129ab4c
3
src/cmd/dist/build.go
vendored
3
src/cmd/dist/build.go
vendored
@ -1063,8 +1063,7 @@ func packagefile(pkg string) string {
|
||||
}
|
||||
|
||||
// unixOS is the set of GOOS values matched by the "unix" build tag.
|
||||
// This is the same list as in go/build/syslist.go and
|
||||
// cmd/go/internal/imports/build.go.
|
||||
// This is the same list as in internal/syslist/syslist.go.
|
||||
var unixOS = map[string]bool{
|
||||
"aix": true,
|
||||
"android": true,
|
||||
|
@ -37,8 +37,7 @@ var KnownOS = map[string]bool{
|
||||
|
||||
// UnixOS is the set of GOOS values matched by the "unix" build tag.
|
||||
// This is not used for filename matching.
|
||||
// This list also appears in cmd/dist/build.go and
|
||||
// cmd/go/internal/imports/build.go.
|
||||
// This list also appears in cmd/dist/build.go.
|
||||
var UnixOS = map[string]bool{
|
||||
"aix": true,
|
||||
"android": true,
|
||||
|
Loading…
Reference in New Issue
Block a user