-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Swift Build] Default to the package's declared deployment target if none is explicitly specified #9139
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
base: main
Are you sure you want to change the base?
Conversation
…none is explicitly specified
@swift-ci test |
let hostArch: String | ||
#if arch(arm64) | ||
hostArch = "arm64" | ||
#else |
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.
nit: else-if-x86_64 would be better
@swift-ci test |
1 similar comment
@swift-ci test |
Not sure how I broke the self-hosted plugin tests but those are reliably failing with this patch... |
@swift-ci test self-hosted |
@swift-ci test self hosted |
4c8704d
to
ab11e91
Compare
@swift-ci test self hosted |
ab11e91
to
570bbea
Compare
@swift-ci test self hosted |
570bbea
to
749c8cb
Compare
@swift-ci test self hosted |
@swift-ci test |
@swift-ci test macOS |
Default to an unversioned triple if the user hasn't provided one so we don't raise the deployment target to a version the package may not support
closes #9095