internal/rosa: remove global handles

These no longer serve any purpose.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 08:07:43 +09:00
parent 2e502ede6c
commit b482fd4abf
17 changed files with 120 additions and 125 deletions

View File

@@ -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 \