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 target aarch64-apple-darwin on 64-bit x86 macOS #508

Closed
rossmacarthur opened this issue Jan 9, 2021 · 3 comments
Closed

Support target aarch64-apple-darwin on 64-bit x86 macOS #508

rossmacarthur opened this issue Jan 9, 2021 · 3 comments

Comments

@rossmacarthur
Copy link

No description provided.

SimplyDanny added a commit to SimplyDanny/sd that referenced this issue Mar 19, 2021
This target requires cross-compilation on the default (x86_64) `macos-latest`
platform. However, `cross` does [not yet](cross-rs/cross#508)
provide the right target. If tests can be skipped a build solution outside
of `cross` is already discussed [here](BurntSushi/ripgrep#1737).
SimplyDanny added a commit to SimplyDanny/sd that referenced this issue Mar 19, 2021
This target requires cross-compilation on the default (x86_64) `macos-latest`
platform. However, `cross` does [not yet](cross-rs/cross#508)
provide the right target. If tests can be skipped a build solution outside
of `cross` is already discussed [here](BurntSushi/ripgrep#1737).
SimplyDanny added a commit to SimplyDanny/sd that referenced this issue Mar 19, 2021
This target requires cross-compilation on the default (x86_64) `macos-latest`
platform. However, `cross` does [not yet](cross-rs/cross#508)
provide the right target. If tests can be skipped a build solution outside
of `cross` is already discussed [here](BurntSushi/ripgrep#1737).
@DarrienG
Copy link

DarrienG commented Sep 5, 2021

Perhaps this could be supported on the M1 MacBooks as well too!

@Alexhuszagh
Copy link
Contributor

This won't be done in cross proper since we cannot ship pre-built images with the macOS SDK, however, we have Dockerfiles that only require a tarball for the macOS SDK in cross-toolchains. We're currently waiting on a resubmitted PR to support aarch64-apple-darwin.

@Alexhuszagh
Copy link
Contributor

cross-rs/cross-toolchains#11 has been merged, so this is now supported. You will have to provide your own macOS SDK.

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

No branches or pull requests

3 participants