diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-25 13:57:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-25 14:00:42 +0900 |
| commit | ac7abbbe3fa2eea01defb670abc7dc1dc336cf21 (patch) | |
| tree | cb8c451110acbd394667e94ae66c53dc422398b8 /internal/rosa/go.go | |
| parent | 7ee5d5368de5494350e7766a595c2bdc8f01ce80 (diff) | |
internal/rosa: read-only access to built-ins
This removes potential footguns caused by mutable builtins without requiring unnecessary clones.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/go.go')
| -rw-r--r-- | internal/rosa/go.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/go.go b/internal/rosa/go.go index 6cebd08f..69d5eb73 100644 --- a/internal/rosa/go.go +++ b/internal/rosa/go.go @@ -66,7 +66,7 @@ func init() { Version: version, Exclude: true, } - native.MustRegister(meta.Name, func(t Toolchain) (*Metadata, pkg.Artifact) { + builtin.MustRegister(meta.Name, func(t Toolchain) (*Metadata, pkg.Artifact) { var ( bootstrapEnv []string bootstrapEarly []pkg.Artifact |
