Swift on Windows: A Year of Refinement
6 hours ago
- Rebuilt the runtime build system with modern CMake to ensure reproducible builds and enable cross-compilation.
- Introduced the Experimental Swift SDK, packaging runtime and core libraries with multiple distribution models including static and side-by-side.
- Implemented static linking of the Swift runtime on Windows, eliminating runtime version mismatches caused by PATH-based DLL discovery.
- Disabled library-evolution mode on Windows to remove unnecessary indirection and reflect the platform's lack of ABI stability.
- Enabled side-by-side runtime deployment through embedded manifests, allowing multiple runtime versions to coexist.
- Validated the new linkage and distribution model with real tools like SwiftFormat, SwiftLint, and developer utilities nv and vigil.
- Improved the Clang Importer to support Windows UNICODE macro aliases, enhancing API fidelity.
- Community contributions, notably from the Swift Testing framework team, improved Windows support for testing infrastructure.