]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: add GOAMD64 environment variable
authornimelehin <nimelehin@gmail.com>
Wed, 15 Sep 2021 04:30:49 +0000 (04:30 +0000)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 16 Sep 2021 17:44:44 +0000 (17:44 +0000)
commitb1bedc0774d8a3a7ff8778e933ee92e8638e9493
tree0166ce3bd2a5793c1ef1da0b90baa0843692c552
parent04f5116c987082a834a29e81c81ece8537d87219
cmd/go: add GOAMD64 environment variable

The variable represents the microarchitecture level for which to compile.
Valid values are v1 (default), v2, v3, v4.

Updates #45453

Change-Id: I095197fc9239d79f98896d7e745e2341354daca4
GitHub-Last-Rev: f83ed17204606264073be5b9831f9d24f2f9dbc4
GitHub-Pull-Request: golang/go#48359
Reviewed-on: https://go-review.googlesource.com/c/go/+/349595
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Bryan C. Mills <bcmills@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/go/internal/work/gc.go
src/internal/buildcfg/cfg.go
src/internal/buildcfg/cfg_test.go [new file with mode: 0644]
src/internal/cfg/cfg.go
test/run.go