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

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

index 814c21f3b7832429427bc0517a57b66dfe72d951..51e0ac7441ad4e6d7c9441fece1e10e183045a09 100644 (file)
@@ -24,6 +24,13 @@ Go 1.23 introduces a new `GOARM64` environment variable, which specifies the min
 
 The `GOARM64` environment variable defaults to `v8.0`.
 
+### RISC-V {#riscv}
+
+<!-- go.dev/issue/61476, CL 541135 -->
+Go 1.23 introduces a new `GORISCV64` environment variable, which selects the [RISC-V user-mode application profile](https://github.com/riscv/riscv-profiles/blob/main/src/profiles.adoc) for which to compile. Allowed values are `rva20u64` and `rva22u64`.
+
+The `GORISCV64` environment variable defaults to `rva20u64`.
+
 ### Wasm {#wasm}
 
 <!-- go.dev/issue/63718 -->
index 5ebb644af0fe3e3c9ed107c3936b125c274f5cdf..424780cd7d85cf0eb26f914430e5da7016d4ba8d 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/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.
-
 <!-- These items need to be reviewed, and mentioned in the Go 1.23 release notes if applicable.
 
 None right now; more may come up later on.