internal/rosa: use type P in helper interface
All checks were successful
Test / Create distribution (push) Successful in 42s
Test / Sandbox (push) Successful in 1m50s
Test / ShareFS (push) Successful in 3m12s
Test / Sandbox (race detector) (push) Successful in 5m32s
Test / Hakurei (race detector) (push) Successful in 6m36s
Test / Hakurei (push) Successful in 2m40s
Test / Flake checks (push) Successful in 1m26s

This is easier to type and serialises correctly.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-31 23:45:01 +09:00
parent 6b78df8714
commit 52b1a5a725
6 changed files with 9 additions and 11 deletions

View File

@@ -72,9 +72,7 @@ func (*MesonHelper) name(name, version string) string {
}
// extra returns hardcoded meson runtime dependencies.
func (*MesonHelper) extra(int) []PArtifact {
return []PArtifact{Meson}
}
func (*MesonHelper) extra(int) P { return P{Meson} }
// wantsChmod returns false.
func (*MesonHelper) wantsChmod() bool { return false }