aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/rosa/state.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go
index bc404778..f60d323b 100644
--- a/internal/rosa/state.go
+++ b/internal/rosa/state.go
@@ -508,7 +508,8 @@ func (s *S) getFrame() azalea.Frame {
}
identDefault := k("default")
- identArch := unique.Make(azalea.Ident(s.arch))
+ identArch := k(s.Arch())
+ identCross := k("cross")
native := runtime.GOARCH
if s.cross() {
@@ -747,6 +748,12 @@ func (s *S) getFrame() azalea.Frame {
case identArch:
return arg.V, true, nil
+
+ case identCross:
+ if !s.cross() {
+ continue
+ }
+ return arg.V, true, nil
}
}