From 9dfbf95db02054204defbe422099c02b790a19fc Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 22 Oct 2026 01:56:23 +0900 Subject: internal/rosa: initial cross-compilation support This successfully cross-compiles the toolchain. More work is needed to support cross-compilation on all native helpers and existing packages. Signed-off-by: Ophestra --- internal/rosa/azalea/evaluate.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/rosa/azalea') diff --git a/internal/rosa/azalea/evaluate.go b/internal/rosa/azalea/evaluate.go index cb5e8d12..59702062 100644 --- a/internal/rosa/azalea/evaluate.go +++ b/internal/rosa/azalea/evaluate.go @@ -206,6 +206,8 @@ var ( IdentTools = unique.Make(Ident("tools")) // IdentInputs has the same semantics as [IdentTools]. IdentInputs = unique.Make(Ident("inputs")) + // IdentCross has the same semantics as [IdentTools]. + IdentCross = unique.Make(Ident("cross")) // IdentRuntime has the same semantics as [IdentTools]. IdentRuntime = unique.Make(Ident("runtime")) // IdentExtra has the same semantics as [IdentTools]. @@ -361,6 +363,7 @@ func evaluateAny(d PF, s []Frame, expr, rp any) bool { for _, special := range [...]unique.Handle[Ident]{ IdentTools, IdentInputs, + IdentCross, IdentRuntime, IdentExtra, } { -- cgit v1.3.1