Skip to content

Targets for MacCatalyst are failing to build #6

Open

Description

@tmarkovski

This started to happen recently, but I'm not sure where exactly the problem is. Attempting to build the library for *-macabi targets is failing with clang error.

cargo +nightly build --release -Z build-std --target x86_64-apple-ios-macabi
// and
cargo +nightly build --release -Z build-std --target aarch64-apple-ios-macabi

It seems related to this issue. I tried building a simple rust library for these targets to make sure the tooling works, and it seemed to work.

Activity

  1. mikelodder7 commented on Dec 2, 2022

    @mikelodder7
    Collaborator

    Not sure what it would be either. Do you have any notes from your investigation?

  2. tmarkovski commented on Dec 2, 2022

    @tmarkovski
    ContributorAuthor

    Some. It only happens for cdylib target types, works fine for rlib and staticlib.
    It is related to the clang issue I linked above, but based on the comments it seems the fix should have made it in the nightly cc-rs, but maybe it hasn't.

    rust-lang/rust#96392

  3. mikelodder7 commented on Dec 2, 2022

    @mikelodder7
    Collaborator

    Ah that probably means a dynamo library is missing from the system. Could be a version of Xcode. I’ll look into it

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions