Skip to content

Commit

Permalink
doc/next: document GORISCV64 environment variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cherrymui committed Jun 11, 2024
1 parent 1554e87 commit 04b5d13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 7 additions & 0 deletions doc/next/7-ports.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down
3 changes: 0 additions & 3 deletions doc/next/9-todo.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 04b5d13

Please sign in to comment.