Cross-compiling for arm
on amd
requires runtime/cgo
#1
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
Milestone
Description of the bug
Compiling for
arm
onamd
requires theruntime/cgo
module to be enabled, however by default it is disabled. It can be enabled by setting theCGO_ENABLED
environment variable to 1. However, this in turn requires a C / C++ compiler (specifically gcc) to be installed. This should be added to a known issues section of the README. First however, it should be checked whether go will use clang if it is in PATH, since clang is more widely used than gcc.Affected OSes and architectures
Note
Likely also is a problem on macOS - amd64, but I have no way of verifiyng this.
The text was updated successfully, but these errors were encountered: