Skip to content

Create a aarch64-apple-ios-sim target for rustc #81632

Description

@deg4uss3r

Currently in our application we cannot run the iOS simulator on M1 machines because it is expecting x86_64 architecture. Forcing arm64 using the rustc target aarch64-apple-ios can build the project and ship the application but this targets the iOS Device SDK, and will not build in the simulator for testing with this error:

ld: <path/to/lib> building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

rustc should provide an aarch-apple-ios-sim target that uses the iOS Simulator SDK.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions