You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does referencing PLATFORM.archs pass it as a string type, while referencing GLOBAL_ARCHS pass ARCHS as a []interface{} type? And how can I modify it to pass as []interface{}?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the
build-all
task, when I reference theGLOBAL_ARCHS
variable, it passes theARCHS
variable to thebuild-platform
task as a[]interface{}
type.However, when I reference
PLATFORM.archs
instead, theARCHS
variable is passed to thebuild-platform
task as astring
type instead of[]interface{}
.Why does referencing
PLATFORM.archs
pass it as astring
type, while referencingGLOBAL_ARCHS
passARCHS
as a[]interface{}
type? And how can I modify it to pass as[]interface{}
?Beta Was this translation helpful? Give feedback.
All reactions