From b3f0360a05230dde609eb0e3fabf3a5d92792f94 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 13 Mar 2026 12:39:36 +0900 Subject: internal/rosa: populate runtime dependencies This also removes manually resolved indirect dependencies. Signed-off-by: Ophestra --- internal/rosa/go.go | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'internal/rosa/go.go') diff --git a/internal/rosa/go.go b/internal/rosa/go.go index a2d6f1b3..a5e6a4cd 100644 --- a/internal/rosa/go.go +++ b/internal/rosa/go.go @@ -74,22 +74,8 @@ func (t Toolchain) newGoLatest() (pkg.Artifact, string) { bootstrapExtra = append(bootstrapExtra, t.newGoBootstrap()) case "arm64": - bootstrapEnv = append(bootstrapEnv, - "GOROOT_BOOTSTRAP=/system", - ) - bootstrapExtra = append(bootstrapExtra, - t.Load(Binutils), - - t.Load(GMP), - t.Load(MPFR), - t.Load(MPC), - - t.Load(Zlib), - t.Load(Libucontext), - - t.Load(gcc), - ) - + bootstrapEnv = append(bootstrapEnv, "GOROOT_BOOTSTRAP=/system") + bootstrapExtra = t.AppendPresets(bootstrapExtra, gcc) finalEnv = append(finalEnv, "CGO_ENABLED=0") default: -- cgit v1.3.1