internal/rosa: do not register stage0

Nothing can depend on this, so remove it from the namespace.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-21 22:19:10 +09:00
parent 0914569e62
commit 0615899e56
5 changed files with 49 additions and 70 deletions

View File

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