Skip to content

How to build for Apple Silicon on GitHub Actions #1206

Answered by Brooooooklyn
chriskilding asked this question in Q&A
Discussion options

You must be logged in to vote

It's compiling the npm/darwin-arm64 submodule, but I would expect the output to contain an Intel binary.

Intel macOS could compile Arm64 macOS binaries, the opposite is not possible. So while you are running cargo build --target aarch64-apple-darwin on Intel macOS, it will produce arm64 binary, not x86_64.

Replies: 1 comment 1 reply

Comment options

Brooooooklyn
Jun 8, 2022
Maintainer Sponsor

You must be logged in to vote
1 reply
@chriskilding
Comment options

Answer selected by chriskilding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants