Skip to content

CI: Move CI, package manifests and docs to Swift 6.3 - #834

Merged
krodak merged 1 commit into
swiftwasm:mainfrom
PassiveLogic:kr/ci-swift-6.3
Nov 25, 2026
Merged

krodak merged 1 commit into
swiftwasm:mainfrom
PassiveLogic:kr/ci-swift-6.3

Conversation

@krodak

@krodak krodak commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Overview

#762 raised the minimum supported Swift version to 6.3, but parts of the repo still targeted older versions. This PR moves the rest to 6.3.

1. CI. The native macOS build used Xcode_26.0.1, which ships Swift 6.2, and the newest Xcode on the macos-15 image (26.3) is also 6.2. The job now runs on macos-26 with Xcode_26.5 (Swift 6.3.2). The Swift 6.3 Wasm entry used a pre-release 6.3-branch snapshot and now uses swift-6.3.2-RELEASE, the newest 6.3 release in the swift-sdk-index that setup-swiftwasm reads. The macOS job currently fails on #833, because Swift 6.2 rejects a mutating method on a ~Escapable type.

2. Package manifests. Every Package.swift (root, plugins, fixtures, examples, benchmarks) now uses swift-tools-version: 6.3. Examples/Multithreading and Examples/OffscrenCanvas were on 5.10, so they set swiftLanguageModes: [.v5] to keep their language mode.

3. Docs. The manifest snippets, the Deploying-Pages container image, the PackageToJS requirements, and the Hello World tutorial now use 6.3. The tutorial uses 6.3.3 with the matching Wasm SDK checksum from swift.org.

4. Always-true compiler checks. #if compiler(>=6.0) is always true with a 6.3 minimum, so it is removed from Features.swift, JSClosure.swift and WebWorkerTaskExecutor.swift.

@krodak krodak changed the title CI: Move remaining jobs to Swift 6.3 Nov 25, 2026

@MaxDesiatov MaxDesiatov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MaxDesiatov

Copy link
Copy Markdown
Member

I removed old 6.3.0 CI check requirement, replaced with 6.3.2. All is green now, good to merge?

@krodak
krodak merged commit 1db1901 into swiftwasm:main Nov 25, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants