Skip to content

Commit ca29eac

Browse files
Update latest toolchain version to 5.8.0
1 parent f94854b commit ca29eac

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/getting-started/setup.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@ To install Swift for WebAssembly toolchain, download one of the packages below a
44

55
## Releases
66

7-
### SwiftWasm 5.7
7+
### SwiftWasm 5.8
88

9-
Tag: [swift-wasm-5.7.3-RELEASE](https://github.com/swiftwasm/swift/releases/tag/swift-wasm-5.7.3-RELEASE)
9+
Tag: [swift-wasm-5.8.0-RELEASE](https://github.com/swiftwasm/swift/releases/tag/swift-wasm-5.8.0-RELEASE)
1010

1111
| Download | Docker Tag |
1212
|:------------------:|:----------:|
13-
| [macOS arm64](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.7.3-RELEASE/swift-wasm-5.7.3-RELEASE-macos_arm64.pkg) | Unavailable |
14-
| [macOS x86](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.7.3-RELEASE/swift-wasm-5.7.3-RELEASE-macos_x86_64.pkg) | Unavailable |
15-
| [Ubuntu 18.04 x86](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.7.3-RELEASE/swift-wasm-5.7.3-RELEASE-ubuntu18.04_x86_64.tar.gz) | [5.7, 5.7-bionic, bionic, latest](https://github.com/orgs/swiftwasm/packages/container/package/swift) |
16-
| [Ubuntu 20.04 x86](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.7.3-RELEASE/swift-wasm-5.7.3-RELEASE-ubuntu20.04_x86_64.tar.gz) | [5.7-focal, focal](https://github.com/orgs/swiftwasm/packages/container/package/swift) |
13+
| [macOS arm64](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.8.0-RELEASE/swift-wasm-5.8.0-RELEASE-macos_arm64.pkg) | Unavailable |
14+
| [macOS x86](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.8.0-RELEASE/swift-wasm-5.8.0-RELEASE-macos_x86_64.pkg) | Unavailable |
15+
| [Ubuntu 18.04 x86_64](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.8.0-RELEASE/swift-wasm-5.8.0-RELEASE-ubuntu18.04_x86_64.tar.gz) | [5.8-bionic, bionic](https://github.com/orgs/swiftwasm/packages/container/package/swift) |
16+
| [Ubuntu 20.04 x86_64](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.8.0-RELEASE/swift-wasm-5.8.0-RELEASE-ubuntu20.04_x86_64.tar.gz) | [5.8-focal, focal](https://github.com/orgs/swiftwasm/packages/container/package/swift) |
17+
| [Ubuntu 20.04 aarch64](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.8.0-RELEASE/swift-wasm-5.8.0-RELEASE-ubuntu20.04_aarch64.tar.gz) | [5.8-focal, focal](https://github.com/orgs/swiftwasm/packages/container/package/swift) |
18+
| [Ubuntu 22.04 x86_64](https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.8.0-RELEASE/swift-wasm-5.8.0-RELEASE-ubuntu22.04_x86_64.tar.gz) | [5.8, 5.8-jammy, jammy, latest](https://github.com/orgs/swiftwasm/packages/container/package/swift) |
1719

1820

1921
You can download the latest development snapshot from [the Releases page](https://github.com/swiftwasm/swift/releases)
@@ -45,11 +47,11 @@ export PATH=/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:"${PA
4547

4648
```bash
4749
$ swift --version
48-
SwiftWasm Swift version 5.7.3 (swiftlang-5.7.3)
50+
SwiftWasm Swift version 5.8.0 (swiftlang-5.8.0)
4951
Target: x86_64-apple-darwin21.6.0
5052
```
5153

52-
> Warning: `xcrun` finds executable binary based on `--toolchain` option or `TOOLCHAINS` environment variable, but it also sets `SDKROOT` as host target SDK (e.g. `MacOSX.sdk`). So you need to specify `-sdk` option as `/Library/Developer/Toolchains/swift-wasm-5.7.3-RELEASE.xctoolchain/usr/share/wasi-sysroot` when launching `swiftc` from xcrun. `swift build` or other SwiftPM commands automatically find SDK path based on target triple, so they don't require to specify it.
54+
> Warning: `xcrun` finds executable binary based on `--toolchain` option or `TOOLCHAINS` environment variable, but it also sets `SDKROOT` as host target SDK (e.g. `MacOSX.sdk`). So you need to specify `-sdk` option as `/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/share/wasi-sysroot` when launching `swiftc` from xcrun. `swift build` or other SwiftPM commands automatically find SDK path based on target triple, so they don't require to specify it.
5355
5456

5557
## Linux
@@ -129,8 +131,9 @@ SwiftWasm Dockerfiles are located on [swiftwasm-docker](https://github.com/swift
129131

130132
### Supported Platforms
131133

132-
- Ubuntu 18.04
133-
- Ubuntu 20.04
134+
- Ubuntu 18.04 (x86_64)
135+
- Ubuntu 20.04 (x86_64, aarch64)
136+
- Ubuntu 22.04 (x86_64)
134137

135138
### Using Docker Images
136139

0 commit comments

Comments
 (0)