]> Cypherpunks repositories - gostls13.git/commitdiff
doc/next: document GOARM64 environment variable
authorCherry Mui <cherryyz@google.com>
Tue, 11 Jun 2024 14:08:19 +0000 (10:08 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 11 Jun 2024 17:18:41 +0000 (17:18 +0000)
For #65614.
Updates #60905.

Change-Id: I2dd9df3c7066357cf06268d918bad3c255b38aed
Reviewed-on: https://go-review.googlesource.com/c/go/+/591875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Joel Sing <joel@sing.id.au>
doc/next/7-ports.md
doc/next/9-todo.md

index 5b345fb82ed86178fb79f7b0e7beaee047bc495b..814c21f3b7832429427bc0517a57b66dfe72d951 100644 (file)
@@ -17,6 +17,13 @@ Go 1.23 is the last release that requires Linux kernel version 2.6.32 or later.
 <!-- go.dev/issue/55999, CL 518629, CL 518630 -->
 Go 1.23 adds experimental support for OpenBSD on 64-bit RISC-V (`GOOS=openbsd`, `GOARCH=riscv64`).
 
+### ARM64 {#arm64}
+
+<!-- go.dev/issue/60905, CL 559555 -->
+Go 1.23 introduces a new `GOARM64` environment variable, which specifies the minimum target version of the ARM64 architecture at compile time. Allowed values are `v8.{0-9}` and `v9.{0-5}`. This may be followed by an option specifying extensions implemented by target hardware. Valid options are `,lse` and `,crypto`.
+
+The `GOARM64` environment variable defaults to `v8.0`.
+
 ### Wasm {#wasm}
 
 <!-- go.dev/issue/63718 -->
index eefdbe293ce566ad75b931cd394481e1bb1de5d7..5ebb644af0fe3e3c9ed107c3936b125c274f5cdf 100644 (file)
@@ -1,8 +1,5 @@
 <!-- These items need to be completed and moved to an appropriate location in the release notes. -->
 
-<!-- go.dev/issue/60905, CL 559555 -->
-TODO: The new `GOARM64` environment variable needs to be documented. This note should be moved to an appropriate location in the release notes.
-
 <!-- go.dev/issue/61476, CL 541135 -->
 TODO: The new `GORISCV64` environment variable needs to be documented. This note should be moved to an appropriate location in the release notes.