Announcing Swift 6.4.1

Announcing Swift 6.4.1

We are happy to announce the release of Swift 6.4.1.

Install Swift Toolchain

Release Notes

Swift

  • Compiler and Optimizer
    • Fixed a SIL verification failure triggered by multiple [weak self] closures when compiling with -Osize and cross-module optimization. (swift#92707)
    • Fixed a miscompile during alias analysis where writes to a local variable via a pointer (like MutableSpan) were dropped by the optimizer. (swift#92631)
    • Fixed a release mode compiler failure caused by the LoopInvariantCodeMotion optimizer incorrectly moving assignment instructions. (swift#92506)
  • Runtime and Backtracing
    • Fixed DWARF parsing issues that caused the backtracer to crash on Linux when libc symbols were installed. (swift#92184)

Swift Package Manager

Swift Build

  • Fixed autolink entries for Foundation when statically linking the standard library. (swift-build#1772)

Foundation

Swift Testing

  • Fixed test repetition policies to no longer treat warnings and known issues as test failures. (swift-testing#1924)
  • Added support for non-finite floating-point values in exit test captures. (swift-testing#1842)

Windows

15 Likes

Glad to see new version