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

Targets for MacCatalyst are failing to build #6

Open
tmarkovski opened this issue Dec 2, 2022 · 3 comments
Open

Targets for MacCatalyst are failing to build #6

tmarkovski opened this issue Dec 2, 2022 · 3 comments

Comments

@tmarkovski
Copy link
Contributor

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.

@mikelodder7
Copy link
Collaborator

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

@tmarkovski
Copy link
Contributor Author

tmarkovski commented Dec 2, 2022

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

@mikelodder7
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants