mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
There is some special logic for loading modules from under the resource-dir. In this case, if there's a swiftmodule next to the swiftinterface we refuse to rebuild the module from the swiftinterface. It was designed to catch misconfigurations, either locally if we forget to rebuild the stdlib from source or at deployement. It has been causing issues recently with LLDB and other tools. Let's keep this behavior only for the local scenario by limiting it to untagged compilers. This restriction aligns well with the strict compiler tag check for swiftmodule compatibility.
106 KiB
106 KiB