Skip to content

Commit

Permalink
_content/doc/install: update GOARM default on non-arm systems
Browse files Browse the repository at this point in the history
As of Go 1.21, the default GOARM value when cross-compiling is 7.
This was done in CL 470695. Update its documentation accordingly.

For golang/go#24904.
For golang/go#65241.

Change-Id: I04a22b1e6d5b324615b4822f18db3c53270cf4fb
Reviewed-on: https://go-review.googlesource.com/c/website/+/560015
Reviewed-by: Michael Knyszek <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
dmitshur authored and gopherbot committed Jan 31, 2024
1 parent 1cafcfc commit e4c1197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _content/doc/install/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ <h2 id="environment">Optional environment variables</h2>
</li>

<li><code>$GOARM</code> (for <code>arm</code> only; default is auto-detected if building
on the target processor, 6 if not)
on the target processor, 7 if not)
<p>
This sets the ARM floating point co-processor architecture version the run-time
should target. If you are compiling on the target system, its value will be auto-detected.
Expand Down

0 comments on commit e4c1197

Please sign in to comment.