-
Notifications
You must be signed in to change notification settings - Fork 463
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
aarch64-apple-ios-sim: unrecognized command line option ‘-arch arm64’ #711
Comments
I have the same error. I'm surprised that this issue remained open for about a year. |
Seems like this is because clang recognizes |
Oh, this is already fixed: #759 Changing the version of |
I cannot confirm that. The current stable release (1.76) is pinned to 1.0.79 and I still have that issue. I even tried building with 1.78.0-nightly and it also has this issue. According to the issue you've linked, it has been fixed in cc 1.0.83. |
@CodingMarkus I rechecked the release changelog, and it is in 1.0.79, was the issue reopened when working on 1.0.83? |
See rust-lang/cc-rs#711 Co-authored-by: Luca Vaccaro <[email protected]>
The issue persists and I don't understand why. It should have been fixed in cc 1.0.79 and the the current stable release is pinned to 1.0.97, which is way newer, so the issue should be fixed and I still get exactly the very same issue with rustc 1.80.1 |
Ah, nevermind. It actually is fixed if you make sure that your code builds with the right installation of Rust 😉 I guess this issue can be closed by now. |
Thanks for confirmation! |
When I try to compile on M1 for iOS Simulator:
it finishes with the following error:
The problem might be related to this (lib.rs):
that arm64 is always added.
The text was updated successfully, but these errors were encountered: