Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

published gyro 0.4.0 mac aarch64 is actually a x86 binary #148

Closed
trashhalo opened this issue Dec 22, 2021 · 3 comments
Closed

published gyro 0.4.0 mac aarch64 is actually a x86 binary #148

trashhalo opened this issue Dec 22, 2021 · 3 comments

Comments

@trashhalo
Copy link
Contributor

Attempting to executed it on my m1 mac

➜  gyro git:(90af164) ✗ /Users/stephensolka/Downloads/gyro-0.4.0-macos-aarch64/bin/gyro 
[1]    78917 illegal hardware instruction  /Users/stephensolka/Downloads/gyro-0.4.0-macos-aarch64/bin/gyro

Inspecting it with file

➜  gyro git:(90af164) ✗ file ~/Downloads/gyro-0.4.0-macos-aarch64/bin/gyro 
/Users/stephensolka/Downloads/gyro-0.4.0-macos-aarch64/bin/gyro: Mach-O 64-bit executable x86_64

There is something wrong with this file but I dont know enough about zig to figure out what. https://github.com/mattnite/gyro/blob/master/.github/workflows/release.yml#L140

@truemedian
Copy link
Contributor

Looks like it's missing a -Dtarget=

@trashhalo
Copy link
Contributor Author

Working around this for now with https://github.com/trashhalo/docker-zig

@mattnite
Copy link
Owner

ok removed that incorrect build, and now there's an updated one for 0.4.1, closing this now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants