Skip to content

Commit

Permalink
cmd/go: remove GOAMD64 environment variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dr2chase committed May 20, 2020
1 parent 4b5944e commit 70acb6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/cfg/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const KnownEnv = `
GCCGO
GO111MODULE
GO386
GOAMD64
GOARCH
GOARM
GOBIN
Expand Down

0 comments on commit 70acb6a

Please sign in to comment.