We've been using the Windows Swift 5.3 and 5.4 snapshots for a while now to compile a cross-platform library. We use the snapshots instead of the official releases because we would rather not maintain a cmake configuration parallel to our SwiftPM configuration, instead using SwiftPM to build everywhere, including Windows.
Since at least November last year, we have been getting an error about 30% of the time when compiling our library:
TSCUtility/Triple.swift:152: Fatal error: could not determine host triple: malformed
This happens most often when building our library using GitHub Actions and their provided Windows 10 environment. However, it also happens when building locally with
Has anyone else been using the snapshots to gain SwiftPM support on Windows and been having this same stochastic issue?