1
0
forked from rosa/hakurei

internal/rosa/llvm: migrate runtimes and clang

This eliminates most newLLVM family of functions.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-14 02:06:08 +09:00
parent eeffefd22b
commit e97f6a393f
4 changed files with 117 additions and 114 deletions

View File

@@ -7,12 +7,11 @@ import (
)
func (t Toolchain) newStage0() (pkg.Artifact, string) {
runtimes, clang := t.NewLLVM()
return t.New("rosa-stage0", 0, []pkg.Artifact{
t.Load(Musl),
t.Load(LLVMCompilerRT),
runtimes,
clang,
t.Load(LLVMRuntimes),
t.Load(LLVMClang),
t.Load(Zlib),
t.Load(Bzip2),