Skip to content

Commit f7022ad

Browse files
cherrymuipull[bot]
authored andcommitted
doc/next: document GORISCV64 environment variable
For #65614. Updates #61476. Change-Id: Id677aa6d2a59366ab75a26f08a383d2d253f270e Reviewed-on: https://go-review.googlesource.com/c/go/+/591895 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Joel Sing <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 5f7c67e commit f7022ad

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

doc/next/7-ports.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ Go 1.23 introduces a new `GOARM64` environment variable, which specifies the min
2424

2525
The `GOARM64` environment variable defaults to `v8.0`.
2626

27+
### RISC-V {#riscv}
28+
29+
<!-- go.dev/issue/61476, CL 541135 -->
30+
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`.
31+
32+
The `GORISCV64` environment variable defaults to `rva20u64`.
33+
2734
### Wasm {#wasm}
2835

2936
<!-- go.dev/issue/63718 -->

doc/next/9-todo.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<!-- These items need to be completed and moved to an appropriate location in the release notes. -->
22

3-
<!-- go.dev/issue/61476, CL 541135 -->
4-
TODO: The new `GORISCV64` environment variable needs to be documented. This note should be moved to an appropriate location in the release notes.
5-
63
<!-- These items need to be reviewed, and mentioned in the Go 1.23 release notes if applicable.
74
85
None right now; more may come up later on.

0 commit comments

Comments
 (0)