aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/internal
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2021-06-17 19:49:42 +0000
committerMichael Knyszek <mknyszek@google.com>2021-06-17 21:29:15 +0000
commit2e600fb8b3c97572eec7f04c44684151122e4ee4 (patch)
tree11eed9bc1644b492aee6840683389b47fe752037 /src/runtime/internal
parent46e1e74a86ddffa394f8311b0a17d1839403bb04 (diff)
downloadgo-2e600fb8b3c97572eec7f04c44684151122e4ee4.tar.xz
[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>
Diffstat (limited to 'src/runtime/internal')
-rw-r--r--src/runtime/internal/sys/consts.go46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/runtime/internal/sys/consts.go b/src/runtime/internal/sys/consts.go
index ab0a02671a..fffcf81d1f 100644
--- a/src/runtime/internal/sys/consts.go
+++ b/src/runtime/internal/sys/consts.go
@@ -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
-)