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

fix: Add apple tvos support #881

Merged
merged 2 commits into from
Nov 11, 2023

Conversation

lcruz99
Copy link
Contributor

@lcruz99 lcruz99 commented Oct 3, 2023

This PR allows using cc-rs lib to target tier 3 *-apple builds:

Apple tvOS on aarch64
Apple tvOS Simulator on x86_64

As clang should be used with this target, I've removed tests added on #704 that require gcc. Restored tests.

@@ -507,33 +507,3 @@ fn gnu_apple_darwin() {
cmd.must_not_have("-isysroot");
}
}

Copy link
Member

Choose a reason for hiding this comment

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

These tests didn't require GCC, just check that the target-specific stuff works. They shouldn't be deleted.

There should also be a test that clang works and has everything set appropriately.

Copy link
Member

@thomcc thomcc left a comment

Choose a reason for hiding this comment

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

Forgot to mark this as needing changes.

.github/workflows/main.yml Outdated Show resolved Hide resolved
@lcruz99 lcruz99 force-pushed the add_apple_tvos_support branch 5 times, most recently from 3dc7e6b to 73a730d Compare November 9, 2023 13:17
@lcruz99
Copy link
Contributor Author

lcruz99 commented Nov 9, 2023

@thomcc @NobodyXu FYI

I've pushed the requested changes, sorry for the late reply :)

.github/workflows/main.yml Outdated Show resolved Hide resolved
Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@thomcc thomcc left a comment

Choose a reason for hiding this comment

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

Looks good.

@thomcc thomcc merged commit 4c0062d into rust-lang:main Nov 11, 2023
17 checks passed
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