happy-island-5725810/18/2022, 3:51 PM
on 32-bit arch, which sets
, which causes
to return “invalid arch”.
ripe-mechanic-6326010/18/2022, 3:55 PM
happy-island-5725810/18/2022, 3:58 PM
GOARCH, GOOS, and GOROOT are recorded at compile time and made available by constants or functions in this packageConsequently, I presume this means those parameters must be set during cross compilation.