mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When swift dependency scanner first finds a binary module for a testable import, verify if the module is built for enable-testing or not. If not, keeps searching in case there is a second testable binary module in the search path. Previously, the first binary module will always be accepted by scanner and rely on the importer to provide a good diagnostics. Now the scanner will emit a warning before continue searching, so user understands why the binary in the search path is not taken.
70 KiB
70 KiB