aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-21 22:19:10 +0900
committerOphestra <cat@gensokyo.uk>2026-05-21 22:20:01 +0900
commit0615899e5666aa3a4c8aa9fb69622be411f33dab (patch)
tree6275a071f50f34e528f043fe3716ad6310d43522 /internal/rosa/rosa_test.go
parent0914569e62089f2a9545243c529d238c662d4b04 (diff)
internal/rosa: do not register stage0
Nothing can depend on this, so remove it from the namespace. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa_test.go')
-rw-r--r--internal/rosa/rosa_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/rosa/rosa_test.go b/internal/rosa/rosa_test.go
index 958cd506..e612c11d 100644
--- a/internal/rosa/rosa_test.go
+++ b/internal/rosa/rosa_test.go
@@ -77,7 +77,7 @@ func TestCureAll(t *testing.T) {
cache := getCache(t)
t.Parallel()
- for _, p := range rosa.Native().Collect() {
+ for _, p := range rosa.Native().CollectAll() {
_, a := rosa.Native().Std().MustLoad(p)
t.Run(p.String(), func(t *testing.T) {
t.Parallel()
@@ -94,8 +94,9 @@ func TestCureAll(t *testing.T) {
func BenchmarkStage3(b *testing.B) {
t := rosa.Native().Clone().Std()
+ llvm := rosa.H("llvm")
for b.Loop() {
- t.MustLoad(rosa.LLVM)
+ t.MustLoad(llvm)
b.StopTimer()
t.DropCaches("", 0)