From 7b6cb2739b0bec5ab43b07039f107a3300b71ea8 Mon Sep 17 00:00:00 2001 From: nimelehin Date: Wed, 15 Sep 2021 04:30:49 +0000 Subject: [PATCH] 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 Run-TryBot: Matthew Dempsky TryBot-Result: Go Bot Trust: Bryan C. Mills --- internal/cfg/cfg.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cfg/cfg.go b/internal/cfg/cfg.go index 815994b..4cb3fbd 100644 --- a/internal/cfg/cfg.go +++ b/internal/cfg/cfg.go @@ -33,6 +33,7 @@ const KnownEnv = ` GCCGO GO111MODULE GO386 + GOAMD64 GOARCH GOARM GOBIN