diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/internal/buildcfg/cfg.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/buildcfg/cfg.go b/src/internal/buildcfg/cfg.go index 5ae4c0c7ad..7e4ee365df 100644 --- a/src/internal/buildcfg/cfg.go +++ b/src/internal/buildcfg/cfg.go @@ -392,6 +392,8 @@ func GOGOARCH() (name, value string) { return "GOMIPS64", GOMIPS64 case "ppc64", "ppc64le": return "GOPPC64", fmt.Sprintf("power%d", GOPPC64) + case "riscv64": + return "GORISCV64", fmt.Sprintf("rva%du64", GORISCV64) case "wasm": return "GOWASM", GOWASM.String() } |
