Repository navigation
CI: Move CI, package manifests and docs to Swift 6.3 - #834
Merged
Merged
Conversation
krodak
force-pushed
the
kr/ci-swift-6.3
branch
from
November 25, 2026 12:21
9d4557c to
3a8ad5b
Compare
krodak
force-pushed
the
kr/ci-swift-6.3
branch
from
November 25, 2026 12:28
3a8ad5b to
ee05433
Compare
Member
|
I removed old 6.3.0 CI check requirement, replaced with 6.3.2. All is green now, good to merge? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 themacos-15image (26.3) is also 6.2. The job now runs onmacos-26withXcode_26.5(Swift 6.3.2). The Swift 6.3 Wasm entry used a pre-release 6.3-branch snapshot and now usesswift-6.3.2-RELEASE, the newest 6.3 release in theswift-sdk-indexthatsetup-swiftwasmreads. The macOS job currently fails on #833, because Swift 6.2 rejects amutatingmethod on a~Escapabletype.2. Package manifests. Every
Package.swift(root, plugins, fixtures, examples, benchmarks) now usesswift-tools-version: 6.3.Examples/MultithreadingandExamples/OffscrenCanvaswere on 5.10, so they setswiftLanguageModes: [.v5]to keep their language mode.3. Docs. The manifest snippets, the
Deploying-Pagescontainer image, the PackageToJS requirements, and the Hello World tutorial now use 6.3. The tutorial uses6.3.3with 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 fromFeatures.swift,JSClosure.swiftandWebWorkerTaskExecutor.swift.