If you are running the amd64 Go version on a Apple silicon Mac, it is. That is exactly what Rosetta 2 makes possible. It works for Go and also for most AMD64 binaries out there.
On Mon, Nov 20, 2023, 8:42 AM fliter <imc...@gmail.com> wrote: > Thanks. It does seem to be related to Rosetta > > 在2023年11月20日星期一 UTC+8 20:22:31<Bruno Albuquerque> 写道: > >> This is Rosetta 2. It is not Go, it is MacOS. >> >> -Bruno >> >> On Mon, Nov 20, 2023, 6:51 AM fliter <imc...@gmail.com> wrote: >> >>> On the arm64 architecture m1, go1.21.4.darwin-amd64.pkg can be >>> successfully installed, and it seems to run normally....I am very shocked. >>> >>> Is this because of any adaptations made by Go? Going one step further, >>> is it possible to not distinguish the CPU architecture during future >>> installations and just focus on the operating system type? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "golang-nuts" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to golang-nuts...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/golang-nuts/9331d217-1aee-490f-bdac-049d762d4d68n%40googlegroups.com >>> <https://groups.google.com/d/msgid/golang-nuts/9331d217-1aee-490f-bdac-049d762d4d68n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/aaf953e1-74bc-44b7-a6fa-ab02a5c41304n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/aaf953e1-74bc-44b7-a6fa-ab02a5c41304n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEd86TxStZmq5NumkxDVCJH0Mx9Smg5SD_R_3Nt-chOM3%3DyhTg%40mail.gmail.com.