]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix GOARCH value in GOAMD64 docs
authorTobias Klauser <tklauser@distanz.ch>
Fri, 17 Sep 2021 20:34:15 +0000 (22:34 +0200)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 17 Sep 2021 21:29:32 +0000 (21:29 +0000)
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>

src/cmd/go/alldocs.go
src/cmd/go/internal/help/helpdoc.go

index 35c60744b87d15089b290ec405cabbde36e852af..9753ebba3e64e5143869c733d8dfd0075b2f28d1 100644 (file)
 //             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
index 91876cefe0c417d2bb3183c519dad32dc3240cf7..749dcf192b0f090803cd85574507409eea42014d 100644 (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