-
+
To install Swift for WebAssembly toolchain, download one of the packages below and follow the instructions for your operating system.
-
-SwiftWasm 5.9
-Tag: swift-wasm-5.9.1-RELEASE
+Tag: swift-wasm-5.10.0-RELEASE
Download | Docker Tag |
-macOS arm64 | Unavailable |
-macOS x86 | Unavailable |
-Ubuntu 18.04 x86_64 | 5.9-bionic, bionic |
-Ubuntu 20.04 x86_64 | 5.9-focal, focal |
-Ubuntu 20.04 aarch64 | 5.9-focal, focal |
-Ubuntu 22.04 x86_64 | 5.9, 5.9-jammy, jammy, latest |
+macOS arm64 | Unavailable |
+macOS x86 | Unavailable |
+Ubuntu 18.04 x86_64 | 5.10-bionic, bionic |
+Ubuntu 20.04 x86_64 | 5.10-focal, focal |
+Ubuntu 20.04 aarch64 | 5.10-focal, focal |
+Ubuntu 22.04 x86_64 | 5.10, 5.10-jammy, jammy, latest |
-You can download the latest development snapshot from the Releases page
+You can find older releases from the GitHub Releases page
@@ -187,7 +185,7 @@
$ swift --version
# Or TOOLCHAINS=swiftwasm swift --version
-SwiftWasm Swift version 5.9.1 (swiftlang-5.9.1)
+SwiftWasm Swift version 5.10-dev
Target: x86_64-apple-darwin21.6.0
If you want to uninstall the toolchain, you can remove the toolchain directory from /Library/Developer/Toolchains/
and make sure to remove the toolchain from your PATH
.
@@ -198,10 +196,10 @@
SwiftWasm provides Swift SDKs for WebAssembly. You can use the Swift SDK to cross-compile Swift packages for WebAssembly without installing the whole toolchain.
-To use the Swift SDK, you need to install the official Swift toolchain 5.9 or later. Then, you can install the Swift SDK using the following command while replacing <your platform>
:
-$ swift experimental-sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.9.2-RELEASE/swift-wasm-5.9.2-RELEASE-<your platform>.artifactbundle.zip
+To use the Swift SDK, you need to install the official Swift toolchain 5.10 or later. Then, you can install the Swift SDK using the following command while replacing <your platform>
:
+$ swift experimental-sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.10.0-RELEASE/swift-wasm-5.10.0-RELEASE-<your platform>.artifactbundle.zip
-You can find the latest Swift SDK release from the GitHub Releases page.
+You can find the latest Swift SDK release from the GitHub Releases page.
After installing the Swift SDK, you can see the installed SDKs using the following command:
$ swift experimental-sdk list
<SDK name>
@@ -242,7 +240,7 @@
+
@@ -260,7 +258,7 @@
+
diff --git a/getting-started/swift-package.html b/getting-started/swift-package.html
index 05f5a41..b05fce0 100644
--- a/getting-started/swift-package.html
+++ b/getting-started/swift-package.html
@@ -93,7 +93,7 @@
@@ -174,7 +174,7 @@
If you installed Swift SDK instead of the whole toolchain, you need to use the following command:
-$ swift build --experimental-swift-sdk <SDK name>
+$ swift build --swift-sdk <SDK name>
Just as in the previous section, you can run the produced binary with WebAssembly runtimes like wasmtime
.
diff --git a/getting-started/testing.html b/getting-started/testing.html
index 7c72ef0..f1bc3a1 100644
--- a/getting-started/testing.html
+++ b/getting-started/testing.html
@@ -93,7 +93,7 @@
diff --git a/getting-started/troubleshooting.html b/getting-started/troubleshooting.html
index 3ceb213..6f9cbb4 100644
--- a/getting-started/troubleshooting.html
+++ b/getting-started/troubleshooting.html
@@ -93,7 +93,7 @@
diff --git a/index.html b/index.html
index f0ae924..767481d 100644
--- a/index.html
+++ b/index.html
@@ -93,7 +93,7 @@
diff --git a/print.html b/print.html
index 9c99e71..6c00f88 100644
--- a/print.html
+++ b/print.html
@@ -95,7 +95,7 @@
@@ -184,20 +184,18 @@ Download | Docker Tag |
-macOS arm64 | Unavailable |
-macOS x86 | Unavailable |
-Ubuntu 18.04 x86_64 | 5.9-bionic, bionic |
-Ubuntu 20.04 x86_64 | 5.9-focal, focal |
-Ubuntu 20.04 aarch64 | 5.9-focal, focal |
-Ubuntu 22.04 x86_64 | 5.9, 5.9-jammy, jammy, latest |
+macOS arm64 | Unavailable |
+macOS x86 | Unavailable |
+Ubuntu 18.04 x86_64 | 5.10-bionic, bionic |
+Ubuntu 20.04 x86_64 | 5.10-focal, focal |
+Ubuntu 20.04 aarch64 | 5.10-focal, focal |
+Ubuntu 22.04 x86_64 | 5.10, 5.10-jammy, jammy, latest |
-You can download the latest development snapshot from the Releases page
+You can find older releases from the GitHub Releases page
@@ -212,7 +210,7 @@
$ swift --version
# Or TOOLCHAINS=swiftwasm swift --version
-SwiftWasm Swift version 5.9.1 (swiftlang-5.9.1)
+SwiftWasm Swift version 5.10-dev
Target: x86_64-apple-darwin21.6.0
If you want to uninstall the toolchain, you can remove the toolchain directory from /Library/Developer/Toolchains/
and make sure to remove the toolchain from your PATH
.
@@ -223,10 +221,10 @@
SwiftWasm provides Swift SDKs for WebAssembly. You can use the Swift SDK to cross-compile Swift packages for WebAssembly without installing the whole toolchain.
-To use the Swift SDK, you need to install the official Swift toolchain 5.9 or later. Then, you can install the Swift SDK using the following command while replacing <your platform>
:
-$ swift experimental-sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.9.2-RELEASE/swift-wasm-5.9.2-RELEASE-<your platform>.artifactbundle.zip
+To use the Swift SDK, you need to install the official Swift toolchain 5.10 or later. Then, you can install the Swift SDK using the following command while replacing <your platform>
:
+$ swift experimental-sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.10.0-RELEASE/swift-wasm-5.10.0-RELEASE-<your platform>.artifactbundle.zip
-You can find the latest Swift SDK release from the GitHub Releases page.
+You can find the latest Swift SDK release from the GitHub Releases page.
After installing the Swift SDK, you can see the installed SDKs using the following command:
$ swift experimental-sdk list
<SDK name>
@@ -255,6 +253,72 @@
If you installed Swift SDK instead of the whole toolchain, you need to use the following command:
-$ swift build --experimental-swift-sdk <SDK name>
+$ swift build --swift-sdk <SDK name>
Just as in the previous section, you can run the produced binary with WebAssembly runtimes like wasmtime
.
@@ -369,7 +433,7 @@