Thanks for the useful replay! 在2023年11月21日星期二 UTC+8 00:43:15<g...@iltofa.com> 写道:
> This is because it runs under Rosetta 2. > The emulation is pretty fast, and it’s possible to detect it both from the > GUI of Activity Monitor, than on the command line > > ps -p `fuser /usr/libexec/rosetta/runtime | sed -e 's/.*: //' | sed -e 's/ > /,/g'` > > From inside the program it should be fairly easy too… > > HTH, > gt > > Il giorno 20 nov 2023, alle ore 12:50, fliter <imc...@gmail.com> ha > scritto: > > 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/3979dc93-7b6e-4069-b83e-819f8d8cdb60n%40googlegroups.com.