aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-25 01:32:21 +0900
committerOphestra <cat@gensokyo.uk>2026-01-25 01:43:18 +0900
commit20790af71ec9a69a462ecaaa7fc308e3b685383d (patch)
treee7cfdd8fec51c5dc37db88ad887c07dee947b600 /internal/rosa/rosa.go
parent43b8a40fc0e8d99bf29531d33f1f57d0c6e9df5e (diff)
internal/rosa: lazy initialise all artifacts
This improves performance, though not as drastically as lazy initialising llvm. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index cb2985ef..cf571539 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -235,7 +235,7 @@ ln -vs ../usr/bin /work/bin
compilerRT,
runtimes,
clang,
- boot.NewBusybox(),
+ boot.Load(Busybox),
})
env = fixupEnviron(env, []string{
EnvTriplet + "=" + triplet(),