From ac4cec1625da50d6abd9fca40446e7f75aa5bd37 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 11 Nov 2026 21:59:18 +0900 Subject: internal/rosa: set common cross-compile environment This change avoids duplicating this piece of code all over the place. Signed-off-by: Ophestra --- internal/rosa/state.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/rosa/state.go') diff --git a/internal/rosa/state.go b/internal/rosa/state.go index f8cffce7..9d13cab2 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -134,7 +134,7 @@ func (UnpopulatedIDError) Error() string { return "Anitya ID is not populated" } type Versions struct { // The latest version for the project, as determined by the version sorting algorithm. Latest string `json:"latest_version"` - // List of all versions that aren’t flagged as pre-release. + // List of all versions that aren't flagged as pre-release. Stable []string `json:"stable_versions"` // List of all versions stored, sorted from newest to oldest. All []string `json:"versions"` @@ -1157,6 +1157,7 @@ func (ctx *evalContext) pf( k("cross"): &cross, k("native"): &native, k("tools"): &tools, + k("ccommon"): &attr.CrossCommon, k("runtime"): &runtimes, k("join"): &join, k("unlikely"): &meta.Unlikely, -- cgit v1.3.1