1
0
mirror of https://github.com/golang/go synced 2024-11-17 13:54:46 -07:00

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>
This commit is contained in:
Tobias Klauser 2021-09-17 22:34:15 +02:00 committed by Matthew Dempsky
parent 974b0166d6
commit 3fa7dbeff5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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