diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-09 16:01:12 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-09 16:05:04 +0900 |
| commit | ce06539ecaf07b5fe572b3c190b69bd01aaa7c93 (patch) | |
| tree | 9beeac96af791049294f97a5abacdfce3567f670 /internal/rosa/rosa.go | |
| parent | 69908e5a41b76e065cb08734543994a17e2053d7 (diff) | |
internal/rosa: expose supported architectures
This information is useful to external tooling and makes a lot more sense in this package than cmd/mbf. This change also fixes non-native artifact resolution during clean.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
| -rw-r--r-- | internal/rosa/rosa.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index 0a61e9ec..a5972e35 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -443,12 +443,11 @@ func (t Toolchain) appendHandle(a []pkg.Artifact, pv pa, p ArtifactH) []pkg.Arti } pv[p] = struct{}{} - meta, _ := t.MustLoad(p) + meta, u := t.MustLoad(p) for _, d := range meta.Dependencies { a = t.appendHandle(a, pv, d) } - _, d := t.MustLoad(p) - return append(a, d) + return append(a, u) } // Append recursively appends multiple [Artifact] named by their handles, and |
