Skip to content

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

Closed
@deg4uss3r

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.

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