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

Add visionOS and watchOS to linking to CoreFoundation framework #679

Merged

Conversation

simlay
Copy link
Contributor

@simlay simlay commented May 22, 2024

When using a few patches for various tls and security framework features to build for visionOS and watchOS (among other apple targets), I ran into a linking error.

In rust-lang/rust#125225, linking to Foundation was removed which I think caused some link errors for visionOS and watchOS on rust nightly-2024-05-22.

These are the fixes to those errors.

Copy link
Contributor

@madsmtm madsmtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that sounds probable, and this is the correct fix, my apologies that I didn't consider that it might affect badly configured link invocations like this

@simlay
Copy link
Contributor Author

simlay commented May 22, 2024

my apologies that I didn't consider that it might affect badly configured link invocations like this

No worries. It's part of nightly and using tier 3 targets. We'll eventually patch all the links.

@jdm jdm enabled auto-merge May 22, 2024 16:02
@jdm jdm added this pull request to the merge queue May 22, 2024
auto-merge was automatically disabled May 22, 2024 16:06

Head branch was pushed to by a user without write access

@simlay simlay force-pushed the add-watchos-and-visionos-for-core-foundation-linking branch from 1f80660 to 178b6ac Compare May 22, 2024 16:06
@simlay
Copy link
Contributor Author

simlay commented May 22, 2024

@jdm CI failed on rustfmt so I cargo fmt'd, squashed commit and pushed. I think you have to push the "auto merge" button again as I've made a change.

Merged via the queue into servo:main with commit fb8fd65 May 22, 2024
@simlay
Copy link
Contributor Author

simlay commented May 22, 2024

Uh, the auto merge merged the unfmt'd commit? Now CI is red. It ignored my push to fix rustfmt and claims the PR is merged when there's obviously an unmerged commit. I expect better of this free software (github).

@simlay simlay mentioned this pull request May 22, 2024
@simlay simlay deleted the add-watchos-and-visionos-for-core-foundation-linking branch May 22, 2024 16:25
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

Successfully merging this pull request may close these issues.

3 participants