Skip to content

Conversation

drodriguez
Copy link
Contributor

If one tries to enable maccatalyst_support (which doesn't work correctly, see #77506), this test fails because Swift.swiftmodule gets generated with both -target and -target-variant swift-module-flags, which triggers the usage of the isOSVersionAtLeastOrVariantAtLeast version of version check, which does not match the test CHECK lines.

Mark the test as UNSUPPORTED when the feature is enabled. Not sure if the test can be rewritten conditionally on a feature being support and checking for different functions in the IR.

This should not affect swift.org CI because that CI never enables maccatalyst_support.

If one tries to enable maccatalyst_support (which doesn't work
correctly, see swiftlang#77506), this test fails because `Swift.swiftmodule` gets
generated with both `-target` and `-target-variant`
`swift-module-flags`, which triggers the usage of the
`isOSVersionAtLeastOrVariantAtLeast` version of version check, which
does not match the test `CHECK` lines.

Mark the test as `UNSUPPORTED` when the feature is enabled. Not sure if
the test can be rewritten conditionally on a feature being support and
checking for different functions in the IR.

This should not affect swift.org CI because that CI never enables
maccatalyst_support.
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez drodriguez enabled auto-merge (squash) October 2, 2025 18:24
@drodriguez
Copy link
Contributor Author

@swift-ci please test macOS platform

@drodriguez
Copy link
Contributor Author

@swift-ci please test Windows platform

@drodriguez
Copy link
Contributor Author

@swift-ci please test macOS platform

2 similar comments
@drodriguez
Copy link
Contributor Author

@swift-ci please test macOS platform

@drodriguez
Copy link
Contributor Author

@swift-ci please test macOS platform

@drodriguez drodriguez merged commit 1413d37 into swiftlang:main Oct 9, 2025
4 of 5 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.

1 participant