From abb50fc0dccb201d6f9ce0d7662f109a7569e748 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Sat, 21 Jun 2025 16:30:29 +0100 Subject: [PATCH] Clarify available Embedded Swift features in `wasm-getting-started.md` Embedded Swift Concurrency is not generally available yet in latest development snapshots, as we're working on resolving a remaining issues. --- documentation/articles/wasm-getting-started.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/documentation/articles/wasm-getting-started.md b/documentation/articles/wasm-getting-started.md index 23dcbacd9..73ce6b948 100644 --- a/documentation/articles/wasm-getting-started.md +++ b/documentation/articles/wasm-getting-started.md @@ -95,10 +95,9 @@ Hello from WASI! # Embedded Swift Support -[Embedded Swift](https://github.com/swiftlang/swift-evolution/blob/main/visions/embedded-swift.md) is an experimental subset of the language +[Embedded Swift](https://github.com/swiftlang/swift-evolution/blob/main/visions/embedded-swift.md) is an experimental [subset of the language](https://docs.swift.org/embedded/documentation/embedded/languagesubset) allowing the toolchain to produce Wasm binaries that are multiple orders of magnitude smaller. One of the Swift SDKs in the artifact bundle you've installed -with the `swift sdk install` command is tailored specifically for Embedded Swift. A subset of Swift Concurrency is also supported in this mode -thanks to the functionality provided by WASI. +with the `swift sdk install` command is tailored specifically for Embedded Swift. To build with Embedded Swift SDK, pass its ID as noted in `swift sdk list` output (which has an `-embedded` suffix) in the `--swift-sdk` option. You also have to pass `-c release` to `swift build` and `swift run` to enable optimizations required for Embedded Swift.