mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
These two modules themselves depend on modules that implicitly import the _StringProcessing library. Take OSLog as an example, which imports ObjectiveC, which implicitly imports _StringProcessing. Thus, we can get into the following bad scenario: - A compiler at module format X builds _StringProcessing - A rebase is performed and the compiler is rebuilt at module format Y > X - OSLog builds before _StringProcessing (since it has no dependency) - But _StringProcessing is at module format X < Y, so we have to rebuild it This normally manifests as an error at the desks of compiler engineers about a mismatch in the module format for _StringProcessing. Let's fix that by making CMake schedule _StringProcessing before them.