aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 05:57:13 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 05:57:26 +0900
commit656059278d96c86987c261ae842592617ee17962 (patch)
tree469c3e195589e7f4005477bfe391707472ef4c29 /internal/rosa/rosa.go
parent1a9974ffdc63e9deb24e4c83f4b4ce566311360f (diff)
internal/rosa/package: migrate remaining trivial packages
The rest are migrated individually. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index 70a6c9b1..3ad0b089 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -224,8 +224,14 @@ const (
THostNet
)
-// The Mksh shell is added by [Toolchain.New] and used by almost all packages.
-var Mksh = H("mksh")
+var (
+ // stage0Dist is a binary distribution of an initial toolchain [Stage]. It
+ // is used by [Toolchain.New] as stageEarly.
+ stage0Dist = H("stage0-dist")
+
+ // The Mksh shell is added by [Toolchain.New] and used by almost all packages.
+ Mksh = H("mksh")
+)
// New returns a [pkg.Artifact] based on a [Toolchain] via s.
func (t Toolchain) New(