Targets
The state of the Xwift toolchain on each platform, how the proof of concept was built there, and what is still on the roadmap.
Two things are tracked per target. The Xwift toolchain column shows the toolchain itself: “In progress” means it has been built privately and not released, and “Planned” means it has not been built yet. Nothing has been released.
The other columns cover the proof of concept. “Built in PoC” means that the package was built, its tests were run (where noted) and the xwift-hello executable was run on that target with pinned stock swift.org toolchains.
| Target | Xwift toolchain | Proof of concept | Build | Test | Run |
|---|---|---|---|---|---|
| Linux x86_64 (Ubuntu 24.04) | In progress | Built in PoC | ✓ | ✓ | ✓ |
| Linux arm64 | Planned | — | — | — | — |
| macOS | Planned | Built in PoC | ✓ | ✓ | ✓ |
| Windows | Planned | Built in PoC | ✓ | ✓ | ✓ |
| WebAssembly (WASI) | Planned | Built in PoC | ✓ | — | ✓ (wasmtime) |
| Android | Roadmap | Roadmap | — | — | — |
| iOS | Roadmap | Roadmap | — | — | — |
Linux x86_64
- Xwift toolchain: In progress. It has been built privately and has not been released.
- Runner:
ubuntu-24.04inside the officialswift:6.4.1-noblecontainer - Steps:
swift build -c release,swift test --parallel,swift run -c release xwift-hello
Linux arm64
PlannedThe Xwift toolchain is planned. Neither the toolchain nor the proof of concept is built or tested on arm64 yet.
macOS
- Xwift toolchain: Planned.
- Runner:
macos-15 - Toolchain: Swift 6.4.1 installed with swiftly
- Steps:
swift build -c release,swift test --parallel,swift run -c release xwift-hello
Windows
- Xwift toolchain: Planned.
- Runner:
windows-2022 - Toolchain:
6.4.1-RELEASEviacompnerd/gha-setup-swift@v0.3.0 - Steps:
swift build -c release,swift test,swift run -c release xwift-hello
WebAssembly (WASI)
- Xwift toolchain: Planned.
- Runner:
ubuntu-24.04insideswift:6.4.1-noble - SDK:
swift-6.4.1-RELEASE_wasm, installed with a pinned checksum - Runtime: wasmtime 38.0.1
- Steps:
swift sdk install "$WASM_SDK_URL" --checksum "$WASM_SDK_CHECKSUM"
swift build -c release --swift-sdk swift-6.4.1-RELEASE_wasm --product xwift-hello
out=$(wasmtime .build/release/xwift-hello.wasm)
echo "$out" | grep -q "wasi-wasm32"Web means WASI, for now
The “Web” target today is WebAssembly with the WASI interface, run outside the browser with wasmtime. Running in a browser (JavaScript interop, DOM access) is on the roadmap.
Android
RoadmapAndroid is not built or tested yet. PlatformInfo has an android case so the code is ready to report it, but no Android build exists.
iOS
RoadmapiOS is not built or tested yet. PlatformInfo has an iOS case, but no iOS build exists. iOS support is planned alongside the UI framework.