From b482fd4abfb2b3765b1791915b31067a0f80fec7 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 20 May 2026 08:07:43 +0900 Subject: internal/rosa: remove global handles These no longer serve any purpose. Signed-off-by: Ophestra --- internal/rosa/stage0.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/rosa/stage0.go') diff --git a/internal/rosa/stage0.go b/internal/rosa/stage0.go index 55b26504..eff0c5a8 100644 --- a/internal/rosa/stage0.go +++ b/internal/rosa/stage0.go @@ -5,6 +5,10 @@ import ( "hakurei.app/internal/pkg" ) +// Stage0 is the handle of the stage0 distribution tarball built on the +// toolchain of stage [Std]. +var Stage0 = H("rosa-stage0") + func init() { meta := Metadata{ Name: "rosa-stage0", @@ -13,7 +17,7 @@ func init() { } native.MustRegister(meta.Name, func(t Toolchain) (*Metadata, pkg.Artifact) { return &meta, t.New("rosa-stage0", 0, t.Append(nil, - Bzip2, + H("bzip2"), ), nil, nil, ` umask 377 tar \ -- cgit v1.3.1