diff options
| author | qiulaidongfeng <2645477756@qq.com> | 2024-07-03 13:58:29 +0000 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2024-11-14 17:25:22 +0000 |
| commit | cce90c1eebb315da7611bb79a7bf807df5a1abd9 (patch) | |
| tree | b7b20779b9f4777f77532f1d823aa638e83de7e8 /src/cmd/dist | |
| parent | 3f0b293e70f8e29865ea5893fd1be97f2d75521a (diff) | |
| download | go-cce90c1eebb315da7611bb79a7bf807df5a1abd9.tar.xz | |
cmd/go: print not-defaults arch-env
Fixes #67492
For #34208
Change-Id: Idcddf88aad8e18b0274ce8e2ff8a83d57db603a6
GitHub-Last-Rev: 8ef7cf59d0fd6d2d99177277c8a4237e7a86f895
GitHub-Pull-Request: golang/go#67493
Reviewed-on: https://go-review.googlesource.com/c/go/+/586241
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/dist')
| -rw-r--r-- | src/cmd/dist/buildruntime.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cmd/dist/buildruntime.go b/src/cmd/dist/buildruntime.go index 7095f43772..3eec9133fd 100644 --- a/src/cmd/dist/buildruntime.go +++ b/src/cmd/dist/buildruntime.go @@ -51,14 +51,14 @@ func mkbuildcfg(file string) { fmt.Fprintln(&buf) fmt.Fprintf(&buf, "import \"runtime\"\n") fmt.Fprintln(&buf) - fmt.Fprintf(&buf, "const defaultGO386 = `%s`\n", go386) - fmt.Fprintf(&buf, "const defaultGOAMD64 = `%s`\n", goamd64) - fmt.Fprintf(&buf, "const defaultGOARM = `%s`\n", goarm) - fmt.Fprintf(&buf, "const defaultGOARM64 = `%s`\n", goarm64) - fmt.Fprintf(&buf, "const defaultGOMIPS = `%s`\n", gomips) - fmt.Fprintf(&buf, "const defaultGOMIPS64 = `%s`\n", gomips64) - fmt.Fprintf(&buf, "const defaultGOPPC64 = `%s`\n", goppc64) - fmt.Fprintf(&buf, "const defaultGORISCV64 = `%s`\n", goriscv64) + fmt.Fprintf(&buf, "const DefaultGO386 = `%s`\n", go386) + fmt.Fprintf(&buf, "const DefaultGOAMD64 = `%s`\n", goamd64) + fmt.Fprintf(&buf, "const DefaultGOARM = `%s`\n", goarm) + fmt.Fprintf(&buf, "const DefaultGOARM64 = `%s`\n", goarm64) + fmt.Fprintf(&buf, "const DefaultGOMIPS = `%s`\n", gomips) + fmt.Fprintf(&buf, "const DefaultGOMIPS64 = `%s`\n", gomips64) + fmt.Fprintf(&buf, "const DefaultGOPPC64 = `%s`\n", goppc64) + fmt.Fprintf(&buf, "const DefaultGORISCV64 = `%s`\n", goriscv64) fmt.Fprintf(&buf, "const defaultGOEXPERIMENT = `%s`\n", goexperiment) fmt.Fprintf(&buf, "const defaultGO_EXTLINK_ENABLED = `%s`\n", goextlinkenabled) fmt.Fprintf(&buf, "const defaultGO_LDSO = `%s`\n", defaultldso) |
