aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-08-25 15:04:57 +0900
committerOphestra <cat@gensokyo.uk>2026-08-25 15:26:35 +0900
commitce53fa9249df44e0321f880adf8dd1d4ba0e8c60 (patch)
tree0bdb1768fad3d0e89d0e2e5131bb317a7c7e43b1 /internal/rosa/rosa.go
parent18ba73c9571f4dbf07a14c980c4bb86d234fa136 (diff)
internal/rosa/llvm: early-runtimes for gentoo stage only
This bootstrap step is not required for a native Rosa OS stage0 distribution. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index 2a7cd777..7b06700c 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -129,6 +129,11 @@ const (
_stageEnd
)
+// isRosa returns whether t is derived from a Rosa OS stage0.
+func (t Stage) isRosa() bool {
+ return t >= stageEarly
+}
+
// isStage0 returns whether t is a stage0 toolchain.
func (t Stage) isStage0() bool {
switch t {