-
Notifications
You must be signed in to change notification settings - Fork 17
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 support for tvOS, watchOS and visionOS #146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it! Much better than trying to manually keep up with list of Apple OSes.
(I should really clean up the CI checks, though.)
Btw, I chose the name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for fixing this up and expanding our platform support!
Pulling in #148 once it lands should get most of the builds passing. |
By using `target_vendor = "apple"` instead of `target_os = "macos"`. The implementation uses APIs from `libSystem` which is available on all Apple platforms that Rust supports. Inpsired by strawlab/iana-time-zone#146. This is technically a breaking change on non-macOS Apple targets, so bump the crate version to 2.0.0.
@madsmtm if you can rebase and resolve conflicts we can get this merged |
Hmm, I've rebased, but the CI didn't seem to run? |
By using
target_vendor = "apple"
instead ofany(target_os = "macos", target_os = "ios")
- the implementation uses CoreFoundation functions which are available on all Apple platforms.Fixes #71.