internal/rosa: remove global handles
All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 4m18s
Test / Hakurei (push) Successful in 6m13s
Test / ShareFS (push) Successful in 6m11s
Test / Sandbox (race detector) (push) Successful in 6m55s
Test / Hakurei (race detector) (push) Successful in 8m5s
Test / Flake checks (push) Successful in 1m21s
All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 4m18s
Test / Hakurei (push) Successful in 6m13s
Test / ShareFS (push) Successful in 6m11s
Test / Sandbox (race detector) (push) Successful in 6m55s
Test / Hakurei (race detector) (push) Successful in 8m5s
Test / Flake checks (push) Successful in 1m21s
These no longer serve any purpose. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -231,6 +231,10 @@ var (
|
||||
|
||||
// The Mksh shell is added by [Toolchain.New] and used by almost all packages.
|
||||
Mksh = H("mksh")
|
||||
// Toybox is standard utilities added by [Toolchain.New].
|
||||
Toybox = H("toybox")
|
||||
// LLVM is the standard toolchain added by [Toolchain.New].
|
||||
LLVM = H("llvm")
|
||||
)
|
||||
|
||||
// New returns a [pkg.Artifact] based on a [Toolchain] via s.
|
||||
@@ -298,7 +302,7 @@ mkdir -vp /work/system/bin
|
||||
|
||||
base := LLVM
|
||||
if flag&TNoToolchain != 0 {
|
||||
base = Musl
|
||||
base = musl
|
||||
}
|
||||
|
||||
support = slices.Concat(extra, t.S.New(t.stage-1).Append([]pkg.Artifact{
|
||||
@@ -335,6 +339,9 @@ mkdir -vp /work/system/bin
|
||||
)
|
||||
}
|
||||
|
||||
// patch is used by [Toolchain.NewPatchedSource].
|
||||
var patch = H("patch")
|
||||
|
||||
// NewPatchedSource returns [pkg.Artifact] of source with patches applied. If
|
||||
// passthrough is true, source is returned as is for zero length patches.
|
||||
func (t Toolchain) NewPatchedSource(
|
||||
@@ -371,7 +378,7 @@ cat /usr/src/` + name + `-patches/* | \
|
||||
aname += "-patched"
|
||||
}
|
||||
return t.New(aname, 0, t.Append(nil,
|
||||
Patch,
|
||||
patch,
|
||||
), nil, nil, script, paths...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user