Skip to content

Conversation

ian-twilightcoder
Copy link
Contributor

swift-build needs to support older versions of swift-frontend that don't support -Isystem. Check the driver and front end before using it. Also set TEST_LIBRARY_SEARCH_PATHS in SWIFT_SYSTEM_INCLUDE_PATHS rather than SWIFT_INCLUDE_PATHS, to match the handling for TEST_FRAMEWORK_SEARCH_PATHS -> SYSTEM_FRAMEWORK_SEARCH_PATHS.

rdar://152540600

swift-build needs to support older versions of swift-frontend that don't support -Isystem. Check the driver and front end before using it.
Also set TEST_LIBRARY_SEARCH_PATHS in SWIFT_SYSTEM_INCLUDE_PATHS rather than SWIFT_INCLUDE_PATHS, to match the handling for TEST_FRAMEWORK_SEARCH_PATHS -> SYSTEM_FRAMEWORK_SEARCH_PATHS.

rdar://152540600
@ian-twilightcoder ian-twilightcoder merged commit 68d6704 into swiftlang:release/6.2 Jun 4, 2025
20 of 21 checks passed
@ian-twilightcoder ian-twilightcoder deleted the Isystem-feature-flag branch June 17, 2025 22:58
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