Skip to content

Commit 94f1581

Browse files
ianlancetaylorgopherbot
authored andcommitted
cmd/go: document default GOARM value
For #24904 For #58884 Change-Id: I0fc61f1a0bc6ebb22bdfd7a7b13ef36c68879384 Reviewed-on: https://go-review.googlesource.com/c/go/+/639276 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 856a7bc commit 94f1581

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/cmd/go/alldocs.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/help/helpdoc.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,11 @@ Architecture-specific environment variables:
620620
GOARM
621621
For GOARCH=arm, the ARM architecture for which to compile.
622622
Valid values are 5, 6, 7.
623+
When the Go tools are built on an arm system,
624+
the default value is set based on what the build system supports.
625+
When the Go tools are not built on an arm system
626+
(that is, when building a cross-compiler),
627+
the default value is 7.
623628
The value can be followed by an option specifying how to implement floating point instructions.
624629
Valid options are ,softfloat (default for 5) and ,hardfloat (default for 6 and 7).
625630
GOARM64

0 commit comments

Comments
 (0)