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 watchOS support #302

Merged
merged 1 commit into from
May 15, 2024
Merged

Add watchOS support #302

merged 1 commit into from
May 15, 2024

Conversation

madsmtm
Copy link
Contributor

@madsmtm madsmtm commented May 15, 2024

Uses target_vendor = "apple", as all of Apple's platforms have the same kernel and Mach-O binary format.

Copy link
Owner

@mmastrac mmastrac left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mmastrac mmastrac merged commit cc3ab91 into mmastrac:master May 15, 2024
3 of 4 checks passed
BertalanD added a commit to BertalanD/small-ctor that referenced this pull request Jul 6, 2024
The `target_vendor="apple"` predicate can be used as a catch-all for all
Apple OSes. They all use the Mach-O format, so the section name is the
same as on macOS.

`cfg_target_vendor` was stabilized in Rust 1.33.

This mirrors mmastrac/rust-ctor#302
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.

2 participants