diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-09-17 22:34:15 +0200 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2021-09-17 21:29:32 +0000 |
commit | 3fa7dbeff53b56edd98f295bd0c34423c080ac57 (patch) | |
tree | a45d5f6e0b47da38de3c91ebea98c090549ca50d | |
parent | 974b0166d6a7c20b98f7e517e49197bea46fc5e2 (diff) | |
download | go-3fa7dbeff53b56edd98f295bd0c34423c080ac57.tar.gz go-3fa7dbeff53b56edd98f295bd0c34423c080ac57.zip |
cmd/go: fix GOARCH value in GOAMD64 docs
GOAMD64 is for GOARCH=amd64. Fix the GOAMD64 environment variable docs
introduced by CL 349595.
Change-Id: I794990ebe2e306d21ed275446fc52373bfe4ae7d
Reviewed-on: https://go-review.googlesource.com/c/go/+/350534
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
-rw-r--r-- | src/cmd/go/alldocs.go | 2 | ||||
-rw-r--r-- | src/cmd/go/internal/help/helpdoc.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 35c60744b8..9753ebba3e 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1988,7 +1988,7 @@ // For GOARCH=386, how to implement floating point instructions. // Valid values are sse2 (default), softfloat. // GOAMD64 -// For GOARCH=GOAMD64, the microarchitecture level for which to compile. +// For GOARCH=amd64, the microarchitecture level for which to compile. // Valid values are v1 (default), v2, v3, v4. // See https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels. // GOMIPS diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go index 91876cefe0..749dcf192b 100644 --- a/src/cmd/go/internal/help/helpdoc.go +++ b/src/cmd/go/internal/help/helpdoc.go @@ -593,7 +593,7 @@ Architecture-specific environment variables: For GOARCH=386, how to implement floating point instructions. Valid values are sse2 (default), softfloat. GOAMD64 - For GOARCH=GOAMD64, the microarchitecture level for which to compile. + For GOARCH=amd64, the microarchitecture level for which to compile. Valid values are v1 (default), v2, v3, v4. See https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels. GOMIPS |