aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/go.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-07 18:11:42 +0900
committerOphestra <cat@gensokyo.uk>2026-04-07 18:11:42 +0900
commit876917229ab7b8777c129aed799c49a67c24ccc0 (patch)
tree7ea68923d666d49de5402ac53ff3b08e3d4488c1 /internal/rosa/go.go
parent0558032c2d6b467b4807e69db74e24c5577c34bc (diff)
internal/rosa/go: enable riscv64 bootstrap path
This is quite expensive, but no other option, unfortunately. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/go.go')
-rw-r--r--internal/rosa/go.go2
1 files changed, 1 insertions, 1 deletions
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")