mirror of
https://github.com/apple/swift-log
synced 2026-11-22 03:40:39 +00:00
This adds support for running the tests on Windows. However, running the tests on Windows requires SPM currently. While it is possible to enable executing tests with CMake, the expectation is that SPM builds would be the most common and CMake is largely used for bootstrapping. The changes here require alterations to remove the POSIX threading to get the thread ID. Additionally, pipes on Windows are not similar to pipes on Unix platforms. Finally, we must add Windows to the platform list, which is temporary (it would be better to use test discovery in SPM).