-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error on Mac M1 #22
Comments
Since the project has sys crates I tried out this on an M1 but without success getting the same error.
But no idea. Maybe it is a misconfiguration issue or we need to build |
Thanks @joseluisq for getting back to me. I have no clue as well:-( |
@unixsurfer you can try this with the latest image. I think that should work. Valid for docker run --rm --volume "${PWD}":/root/src \
--workdir /root/src joseluisq/rust-linux-darwin-builder:1.71.1 \
sh -c "LIBZ_SYS_STATIC=0 CC=o64-clang CXX=o64-clang++ cargo build --release --target aarch64-apple-darwin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to build https://github.com/starship/starship on my Mac Air M1 with:
but it fails with below
On my Linux machine I don't have that problem, I can build the cmd tool and run it fine on my Mac.
The text was updated successfully, but these errors were encountered: