From: Cherry Mui Date: Tue, 11 Jun 2024 14:21:11 +0000 (-0400) Subject: doc/next: document GORISCV64 environment variable X-Git-Tag: go1.23rc1~40 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=04b5d1325602cab8359db6dfe029a9c2162ba9ea;p=gostls13.git 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 Reviewed-by: Dmitri Shuralyov Reviewed-by: Joel Sing Reviewed-by: Dmitri Shuralyov --- diff --git a/doc/next/7-ports.md b/doc/next/7-ports.md index 814c21f3b7..51e0ac7441 100644 --- a/doc/next/7-ports.md +++ b/doc/next/7-ports.md @@ -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 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} diff --git a/doc/next/9-todo.md b/doc/next/9-todo.md index 5ebb644af0..424780cd7d 100644 --- a/doc/next/9-todo.md +++ b/doc/next/9-todo.md @@ -1,8 +1,5 @@ - -TODO: The new `GORISCV64` environment variable needs to be documented. This note should be moved to an appropriate location in the release notes. -