Skip to content
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

Support Apple silicon #902

Closed
wants to merge 6 commits into from
Closed

Conversation

szepeviktor
Copy link
Contributor

Fixes #828

@epage Is this the right direction? I've never seen a Rust environment.

if: matrix.target == 'aarch64-apple-darwin'
shell: bash
run: |
rustup target add aarch64-apple-darwin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't the rust-toolchain step above take care of this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I do not know.
I have zero knowledge of Rust environments.

@epage
Copy link
Collaborator

epage commented Jan 11, 2024

Is this the right direction? I've never seen a Rust environment.

No idea, ripgrep still doesn't have arm builds for Mac in CI for me to copy from. While I'm cautious about adopting cargo-dist, looking at their code might give some ideas.

@szepeviktor
Copy link
Contributor Author

This PR is really an inspiration for you.

@szepeviktor
Copy link
Contributor Author

I think the amd64 binary was built: https://github.com/szepeviktor/typos/actions/runs/7493064842/job/20397945540#step:6:1
I leave it up to you!

@szepeviktor szepeviktor deleted the patch-1 branch January 11, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide release build for arm64
2 participants