I am thinking of purchasing a new macbook pro, but one thing bothers me, which is that I may need to compile the x86 golang binary on this machine and copy it to the other x86 machines, I did some search on Google, and it seems that Go support cross-compile, but anyone has the experience with this before? Can I compile and get a x86-64 golang binary on the m1 macbook pro, which can be runned on the x86-64 machines with system like Ubuntu 20.04?
Thanks.