From 876917229ab7b8777c129aed799c49a67c24ccc0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Apr 2026 18:11:42 +0900 Subject: [PATCH] internal/rosa/go: enable riscv64 bootstrap path This is quite expensive, but no other option, unfortunately. Signed-off-by: Ophestra --- internal/rosa/go.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rosa/go.go b/internal/rosa/go.go index 4eeb324d..5c904f4c 100644 --- a/internal/rosa/go.go +++ b/internal/rosa/go.go @@ -73,7 +73,7 @@ func (t Toolchain) newGoLatest() (pkg.Artifact, string) { case "amd64": bootstrapExtra = append(bootstrapExtra, t.newGoBootstrap()) - case "arm64": + case "arm64", "riscv64": bootstrapEnv = append(bootstrapEnv, "GOROOT_BOOTSTRAP=/system") bootstrapExtra = t.AppendPresets(bootstrapExtra, gcc) finalEnv = append(finalEnv, "CGO_ENABLED=0")