Skip to content

Conversation

tshortli
Copy link
Contributor

swiftlang/swift#84244 introduces the requirement that swift-frontend jobs emitting a swiftinterface must explicitly specify either -language-mode or -swift-version to avoid mis-compilation of the interface. Add the necessary arguments to various tests that form their own swift-frontend invocations.

@tshortli tshortli requested a review from artemcm September 12, 2025 23:55
@tshortli
Copy link
Contributor Author

@swift-ci please test

swiftlang/swift#84244 introduces the requirement that
`swift-frontend` jobs emitting a swiftinterface must explicitly specify either
`-language-mode` or `-swift-version` to avoid mis-compilation of the interface.
Add the necessary arguments to various tests that form their own
`swift-frontend` invocations.
@tshortli tshortli force-pushed the swift-version-required-when-emitting-interfaces branch from fe2e23d to 6f569c3 Compare September 13, 2025 00:23
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli
Copy link
Contributor Author

@swift-ci please test Windows

@tshortli tshortli merged commit bff22ba into swiftlang:main Sep 13, 2025
3 checks passed
@tshortli tshortli deleted the swift-version-required-when-emitting-interfaces branch September 13, 2025 15:03
tshortli added a commit to tshortli/swift-driver that referenced this pull request Sep 13, 2025
swiftlang#1985 missed a test suite where
`-swift-version` needs to be specified explicitly.
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