diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-17 16:44:13 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-17 17:50:30 +0900 |
| commit | 38bc2c750842826c5af4f66abe3e1905258cd274 (patch) | |
| tree | 75e1d17961fd980ff8b20a9dfd937789de10836e /internal/rosa/pcre2.go | |
| parent | 30eb0d6a613ad268f6805ccbcdcabf158e7f526f (diff) | |
internal/rosa: pass stage alongside state
This cleans up many function signatures.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/pcre2.go')
| -rw-r--r-- | internal/rosa/pcre2.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/pcre2.go b/internal/rosa/pcre2.go index 972ac41d..65de62d2 100644 --- a/internal/rosa/pcre2.go +++ b/internal/rosa/pcre2.go @@ -4,12 +4,12 @@ import ( "hakurei.app/internal/pkg" ) -func (t Toolchain) newPCRE2(s *S) (pkg.Artifact, string) { +func (t Toolchain) newPCRE2() (pkg.Artifact, string) { const ( version = "10.47" checksum = "IbC24vVayju6nB9EhrBPSDexk22wDecdpyrjgC3nCZXkwTnUjq4CD2q5sopqu6CW" ) - return s.NewPackage(t, "pcre2", version, newFromGitHubRelease( + return t.NewPackage("pcre2", version, newFromGitHubRelease( "PCRE2Project/pcre2", "pcre2-"+version, "pcre2-"+version+".tar.bz2", |
