diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-13 12:39:36 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-13 13:23:30 +0900 |
| commit | b3f0360a05230dde609eb0e3fabf3a5d92792f94 (patch) | |
| tree | eafdfd1b13b9de94e2d9c9bf6f19329949eb85d8 /internal/rosa/go.go | |
| parent | 89389940363143dd32dfa9920eb34850de541472 (diff) | |
internal/rosa: populate runtime dependencies
This also removes manually resolved indirect dependencies.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/go.go')
| -rw-r--r-- | internal/rosa/go.go | 18 |
1 files changed, 2 insertions, 16 deletions
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: |
