aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/go.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-30 00:16:57 +0900
committerOphestra <cat@gensokyo.uk>2026-07-30 00:18:22 +0900
commit6487b41d922f56d46167802780fcde62d1f27095 (patch)
treea17e76fcb4cd790c3396a26960d45430672c0637 /internal/rosa/go.go
parent7908fb9583cb6af84345508390ec9ea9fc986763 (diff)
internal/rosa: remove legacy exec helper
This change also adds a fourth stage to the bootstrap machinery, offering more correct toolchain validation that works around LLVM dynamic linking flaws. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/go.go')
-rw-r--r--internal/rosa/go.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/go.go b/internal/rosa/go.go
index ebdaa8e2..bb3f4773 100644
--- a/internal/rosa/go.go
+++ b/internal/rosa/go.go
@@ -13,7 +13,7 @@ func (t Toolchain) newGo(
script string,
boot ...pkg.Artifact,
) pkg.Artifact {
- return t.NewPackage("go", version, newTar(
+ return t.New("go", version, newTar(
"https://go.dev/dl/go"+version+".src.tar.gz",
checksum,
pkg.Gzip,
@@ -75,7 +75,7 @@ func init() {
)
switch t.arch {
case "amd64":
- bootstrapEarly = []pkg.Artifact{t.NewPackage("go", "1.4-bootstrap", newTar(
+ bootstrapEarly = []pkg.Artifact{t.New("go", "1.4-bootstrap", newTar(
"https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz",
"8o9JL_ToiQKadCTb04nvBDkp8O1xiWOolAxVEqaTGodieNe4lOFEjlOxN3bwwe23",
pkg.Gzip,