This message was deleted.
# elemental
a
This message was deleted.
r
No idea bout this but doesn't go sets the proper goarch when cross compiling? Like you need to set the goos and goarch to cross compile?
h
I’m not a go developer, but https://pkg.go.dev/runtime#hdr-Environment_Variables says:
GOARCH, GOOS, and GOROOT are recorded at compile time and made available by constants or functions in this package
Consequently, I presume this means those parameters must be set during cross compilation.