fix: update swift-rs to 1.0.9 so macOS builds link on Xcode 27

AF
16d ago
+29-39

Summary

Intent: On Xcode 27 (Swift 6.4), macOS release builds fail to link. swift build now uses the Swift Build system, which moves the built products and internalizes SwiftRs's @_cdecl exports, and swift-rs at 41a1605 handles neither. swift-rs 1.0.8 and 1.0.9 fix both, so this moves the Rust crate to 1.0.9 from crates.io and pins the SwiftRs package in all eight swift-lib packages to the matching commit (207e4bf). Both halves have to move together: the Rust build script and the Swift package each carry part of the fix.

Demo

N/A. Build tooling only; nothing user-facing changes.

Verification

On Xcode 27.2 / Swift 6.4.2:

  • cargo test --release --locked --no-run for tcc, intercept, notification-macos, dictation-ui-macos, transcribe-soniqo, transcribe-speechanalyzer, tauri-plugin-local-llm and tauri-plugin-windows: all link in release mode.
  • cargo test --release --locked for tcc, intercept, notification-macos, dictation-ui-macos and tauri-plugin-windows: pass.
  • swift build --package-path plugins/windows/swift-lib: passes.
  • pnpm exec dprint check on the changed files: clean.
  • The same Xcode 27 failure is worked around in a fork by patching swift-rs 41a1605 with --build-system native; a full signed and notarized desktop release build passed there.

The lockfile now also resolves Tauri's own swift-rs dependency to 1.0.9 (from 1.0.7). Not run here: Xcode 26 builds and the Linux/Windows desktop lanes (unaffected, since swift-rs is macOS-only).


Summary by cubic

Updates swift-rs to 1.0.9 so macOS release builds link on Xcode 27 (Swift 6.4), where the new Swift Build system broke linking for the previous 1.0.7 pin.

  • Moves the Rust crate from the 41a1605 git pin to 1.0.9 from crates.io, and pins the SwiftRs Swift package in all eight swift-lib packages to the matching commit.
  • Verified with release-mode cargo test --locked and swift build on Xcode 27.2; Linux/Windows lanes are unaffected since swift-rs is macOS-only.