diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-02-28 22:49:54 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-02-28 22:49:54 +0900 |
| commit | d041fee791b3b9a506665a75bd34c3d7f22c8753 (patch) | |
| tree | ee4766f1bceebd441fb7b5ea8509f8290a1edc49 | |
| parent | cefd02e960fa80e4cfba1050148c61cad3f95bd2 (diff) | |
internal/rosa: export musl
This can be useful externally.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/all.go | 4 | ||||
| -rw-r--r-- | internal/rosa/musl.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index a56652e4..22ba015f 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -123,8 +123,8 @@ const ( buildcatrust utilMacros - // musl is a standalone libc that does not depend on the toolchain. - musl + // Musl is a standalone libc that does not depend on the toolchain. + Musl // gcc is a hacked-to-pieces GCC toolchain meant for use in intermediate // stages only. This preset and its direct output must never be exposed. diff --git a/internal/rosa/musl.go b/internal/rosa/musl.go index 4ac5a4e5..74603bf0 100644 --- a/internal/rosa/musl.go +++ b/internal/rosa/musl.go @@ -47,7 +47,7 @@ rmdir -v /work/lib )...) } func init() { - artifactsF[musl] = func(t Toolchain) pkg.Artifact { + artifactsF[Musl] = func(t Toolchain) pkg.Artifact { return t.newMusl(false, nil) } } |
