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

Parse the deployment target on all Apple target triples #113

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Oct 2, 2024

Also allow it to be optional, or partially specified.

This is a breaking change.

I've chosen to keep Darwin as a separate OS, since it seems like in #111 (comment) that this crate wants to focus on LLVM target triples.

Another solution would've been to merge it into OperatingSystem::MacOSX, and just ignore that "darwin" doesn't technically mean that (though it is likely to in practice). If we chose this solution (which would be focusing more on rustc targets), I would probably not want to parse the version at all, and just ignore it instead.

Also allow it to be optional, or partially specified.
To more easily determine if the OS is of Darwin lineage.
Copy link
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

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

Thanks!

@sunfishcode sunfishcode merged commit 61922cd into bytecodealliance:main Oct 11, 2024
12 checks passed
@madsmtm madsmtm deleted the apple-targets branch October 12, 2024 20:04
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