From: Ian Lance Taylor Date: Tue, 29 Oct 2024 00:12:41 +0000 (-0700) Subject: cmd/dist, internal/syslist: update UnixOS comments X-Git-Tag: go1.24rc1~499 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=375129ab4c12ee9f04e20eb363c61460b8069290;p=gostls13.git 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 LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Commit-Queue: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov --- diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go index 2c9ecdfa58..a75799c2e7 100644 --- a/src/cmd/dist/build.go +++ b/src/cmd/dist/build.go @@ -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, diff --git a/src/internal/syslist/syslist.go b/src/internal/syslist/syslist.go index 7d1a2b3c3d..2349b6ea64 100644 --- a/src/internal/syslist/syslist.go +++ b/src/internal/syslist/syslist.go @@ -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,