mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix the ExplicitCASModuleLoader check for if `canImport` works for a specific swift module. It was mistakenly using the clang caching schema to load the underlying module but in reality, it should only load swift module with swift caching schema. In future, we should let dependency scanner to report version/underlying version for the modules it enounters so the versioned canImport check doesn't need to load and parse the module/TBD file to figure out if the check is successful or not. rdar://120554271
110 KiB
110 KiB