]> Cypherpunks repositories - gostls13.git/commit
cmd/go: remove GOAMD64 environment variable
authorDavid Chase <drchase@google.com>
Fri, 1 May 2020 21:30:33 +0000 (17:30 -0400)
committerDavid Chase <drchase@google.com>
Wed, 20 May 2020 19:21:43 +0000 (19:21 +0000)
commitdaf70d6c1688a1ba1699c933b3c3f04d6f2f73d9
treec7568df5a3cb99fff6fcc1f59083e0e7ce1ebb52
parentf7f9c8f2fb61fde1a109e277f27a30b610e67ed0
cmd/go: remove GOAMD64 environment variable

This removes the GOAMD64 environment variable and its documentation.
The value is instead supplied by a compiled-in constant.

Note that function alignment is also dependent on the value of
the (removed) flag; it is 32 for aligned jumps, 16 if not.
When the flag-dependent logic is removed, it will be 32.

Updates #35881.

Change-Id: Ic41c0b9833d2e8a31fa3ce8067d92aa2f165bf72
Reviewed-on: https://go-review.googlesource.com/c/go/+/231600
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/dist/build.go
src/cmd/dist/buildruntime.go
src/cmd/go/alldocs.go
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/internal/help/helpdoc.go
src/cmd/internal/objabi/util.go
src/internal/cfg/cfg.go