1
0
forked from rosa/hakurei

internal/rosa: use type P in helper interface

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

@@ -409,7 +409,7 @@ type Helper interface {
// name returns the value passed to the name argument of [Toolchain.New].
name(name, version string) string
// extra returns helper-specific dependencies.
extra(flag int) []PArtifact
extra(flag int) P
// wantsChmod returns whether the source directory should be made writable.
wantsChmod() bool