mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 09:46:56 +08:00
We have a check for Rosetta that should point users towards misconfiguration, however occasionally we still get new issues about debugserver crashing and some of those, as it turns out, are still caused by Rosetta (see for example #3804). Check the output of 'uname -m' and check that it isn't 'x86_64' if we are an 'arm64' process: if that happens we are running unemulated but debugserver will refuse to work.