[dev.typeparams] runtime/internal/sys: remove unused Goarch* and Goos* constants

Change-Id: Ibc8381662242c6754f34edce9c0ad81681f55940
Reviewed-on: https://go-review.googlesource.com/c/go/+/329192
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
Michael Anthony Knyszek 2021-06-17 19:49:42 +00:00 committed by Michael Knyszek
parent 46e1e74a86
commit 2e600fb8b3

View file

@ -32,49 +32,3 @@ const MinFrameSize = goarch.MinFrameSize
// StackAlign is the required alignment of the SP register.
// The stack must be at least word aligned, but some architectures require more.
const StackAlign = goarch.StackAlign
const (
Goarch386 = goarch.Is386
GoarchAmd64 = goarch.IsAmd64
GoarchAmd64p32 = goarch.IsAmd64p32
GoarchArm = goarch.IsArm
GoarchArmbe = goarch.IsArmbe
GoarchArm64 = goarch.IsArm64
GoarchArm64be = goarch.IsArm64be
GoarchPpc64 = goarch.IsPpc64
GoarchPpc64le = goarch.IsPpc64le
GoarchMips = goarch.IsMips
GoarchMipsle = goarch.IsMipsle
GoarchMips64 = goarch.IsMips64
GoarchMips64le = goarch.IsMips64le
GoarchMips64p32 = goarch.IsMips64p32
GoarchMips64p32le = goarch.IsMips64p32le
GoarchPpc = goarch.IsPpc
GoarchRiscv = goarch.IsRiscv
GoarchRiscv64 = goarch.IsRiscv64
GoarchS390 = goarch.IsS390
GoarchS390x = goarch.IsS390x
GoarchSparc = goarch.IsSparc
GoarchSparc64 = goarch.IsSparc64
GoarchWasm = goarch.IsWasm
)
const (
GoosAix = goos.IsAix
GoosAndroid = goos.IsAndroid
GoosDarwin = goos.IsDarwin
GoosDragonfly = goos.IsDragonfly
GoosFreebsd = goos.IsFreebsd
GoosHurd = goos.IsHurd
GoosIllumos = goos.IsIllumos
GoosIos = goos.IsIos
GoosJs = goos.IsJs
GoosLinux = goos.IsLinux
GoosNacl = goos.IsNacl
GoosNetbsd = goos.IsNetbsd
GoosOpenbsd = goos.IsOpenbsd
GoosPlan9 = goos.IsPlan9
GoosSolaris = goos.IsSolaris
GoosWindows = goos.IsWindows
GoosZos = goos.IsZos
)