I managed to cross compile from MacOS Monterey on a MacBook Pro M1, too.
I did not succeed to build GitHub CLI from source, though.
go: downloading github.com/cli/safeexec v1.0.0
script/build.go:37:2: github.com/cli/safeexec@v1.0.0: Get "https://proxy.golang.org/github.com/cli/safeexec/@v/v1.0.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:63588->[::1]:53: i/o timeout
Could it be related to the fork/exec problem @korli mentioned before or something else?
