]> Cypherpunks.ru repositories - gostls13.git/commit
internal/platform,cmd/dist: export the list of supported platforms
authorBryan C. Mills <bcmills@google.com>
Thu, 22 Jun 2023 15:04:45 +0000 (11:04 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 22 Jun 2023 19:44:52 +0000 (19:44 +0000)
commitf8616b84849f089635a041d657da6f5cced790e0
treeb12cb4fdbb593733d49f5a3654ac6683b0beecf2
parent51885c1fa2eff36c421d6669816f971b54b63a33
internal/platform,cmd/dist: export the list of supported platforms

Also switch internal/platform to commit the generated code instead of
regenerating it in cmd/dist. Nothing in the generated code depends on
the target configuration, and committing the source file makes it
more amenable to searching and indexing (particularly on
https://cs.opensource.google/go/go).

For #60939.

Change-Id: I9133dfd5129b3c4d7457267589dfac5e7ecbef65
Reviewed-on: https://go-review.googlesource.com/c/go/+/505175
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
.gitignore
src/cmd/dist/build.go
src/cmd/dist/buildruntime.go
src/cmd/dist/buildtool.go
src/cmd/dist/main.go
src/cmd/distpack/pack.go
src/internal/platform/supported.go
src/internal/platform/zosarch.go [new file with mode: 0644]
src/internal/platform/zosarch_test.go [new file with mode: 0644]