1
0
mirror of https://github.com/golang/go synced 2024-11-15 03:50:33 -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:
Ian Lance Taylor 2024-10-28 17:12:41 -07:00 committed by Gopher Robot
parent 3ae5ff2a27
commit 375129ab4c
2 changed files with 2 additions and 4 deletions

View File

@ -1063,8 +1063,7 @@ func packagefile(pkg string) string {
} }
// unixOS is the set of GOOS values matched by the "unix" build tag. // 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 // This is the same list as in internal/syslist/syslist.go.
// cmd/go/internal/imports/build.go.
var unixOS = map[string]bool{ var unixOS = map[string]bool{
"aix": true, "aix": true,
"android": true, "android": true,

View File

@ -37,8 +37,7 @@ var KnownOS = map[string]bool{
// UnixOS is the set of GOOS values matched by the "unix" build tag. // UnixOS is the set of GOOS values matched by the "unix" build tag.
// This is not used for filename matching. // This is not used for filename matching.
// This list also appears in cmd/dist/build.go and // This list also appears in cmd/dist/build.go.
// cmd/go/internal/imports/build.go.
var UnixOS = map[string]bool{ var UnixOS = map[string]bool{
"aix": true, "aix": true,
"android": true, "android": true,