Closed cachemeifyoucan closed 3 weeks ago
Stop using a fake invalid module to satisfy canImport check for testing as swift compiler will start to evaluate such checks to false in the future.
canImport
Instead, using a valid swift interfacefile to satisify the external module import dependency.
In order for change in https://github.com/apple/swift/pull/74199 to land, update swiftpm tests to stop using invalid swiftmodule.
@swift-ci please test
Stop using a fake invalid module to satisfy
canImport
check for testing as swift compiler will start to evaluate such checks to false in the future.Instead, using a valid swift interfacefile to satisify the external module import dependency.
Motivation:
In order for change in https://github.com/apple/swift/pull/74199 to land, update swiftpm tests to stop using invalid swiftmodule.