From 04b5d1325602cab8359db6dfe029a9c2162ba9ea Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Tue, 11 Jun 2024 10:21:11 -0400 Subject: [PATCH] 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 --- doc/next/7-ports.md | 7 +++++++ doc/next/9-todo.md | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/next/7-ports.md b/doc/next/7-ports.md index 814c21f3b78..51e0ac7441a 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 5ebb644af0f..424780cd7d8 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. -