You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running an executable built for x86 on an M1/M2 mac you will get this confusing error message if Rosetta is not installed: Bad CPU type in executable
Since aftman will always pull x86 executables if a native one is not found for these machines (https://github.com/LPGhatguy/aftman/blob/main/src/tool_source/mod.rs#L36) it might be good for aftman to also be aware of rosetta and point users in the right direction if they don't have it installed.
The text was updated successfully, but these errors were encountered:
I didn't realize that Rosetta was something that users had to install!
What do you think the best way to detect this failure mode is? I don't want Aftman to emit spurious warnings if we have any false-negatives trying to detect a Rosetta install. Should we bundle an x86-64 binary, try to run it, and see if it works?
When running an executable built for x86 on an M1/M2 mac you will get this confusing error message if Rosetta is not installed:
Bad CPU type in executable
Since aftman will always pull x86 executables if a native one is not found for these machines (https://github.com/LPGhatguy/aftman/blob/main/src/tool_source/mod.rs#L36) it might be good for aftman to also be aware of rosetta and point users in the right direction if they don't have it installed.
The text was updated successfully, but these errors were encountered: