Skip to content

Conversation

cachemeifyoucan
Copy link
Contributor

@cachemeifyoucan cachemeifyoucan commented Jun 12, 2024

Explanation: Fix a bug in swift-driver that after a C API rename, the bridging header path can no longer be queried from dependency graph returned from scanner and always be empty.
Scope: This affects builds that depends on the information that is missing now.
Issue: rdar://129703095
Original PR: #1633
Risk: Low. The fix supports both version of C API.
Test: UnitTest
Reviewer: @artemcm

Due to C API renaming, swift-driver failed to record the bridging header path from a binary swift module dependencies. Fix the issue by supporting both old and new C APIs for querying bridging header path. rdar://129703095
@cachemeifyoucan cachemeifyoucan requested a review from a team June 12, 2024 20:02
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

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

@artemcm artemcm requested a review from nkcsgexi June 12, 2024 20:17
@artemcm artemcm changed the title [SwiftScan] Fix headerDependencies in SwiftPrebuiltExternalModuleDetails [6.0 🍒][SwiftScan] Fix headerDependencies in SwiftPrebuiltExternalModuleDetails Jun 12, 2024
@cachemeifyoucan cachemeifyoucan changed the title [6.0 🍒][SwiftScan] Fix headerDependencies in SwiftPrebuiltExternalModuleDetails [6.0][SwiftScan] Fix headerDependencies in SwiftPrebuiltExternalModuleDetails Jun 12, 2024
@cachemeifyoucan cachemeifyoucan changed the title [6.0][SwiftScan] Fix headerDependencies in SwiftPrebuiltExternalModuleDetails [6.0 🍒][SwiftScan] Fix headerDependencies in SwiftPrebuiltExternalModuleDetails Jun 12, 2024
@nkcsgexi nkcsgexi merged commit 2382bea into swiftlang:release/6.0 Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants