Skip to content

Commit 86714c9

Browse files
Add note about which target to choose
1 parent a17c6b3 commit 86714c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/getting-started/setup-snapshot.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ For those versions, you just need to install [Swift SDK for cross-compilation](h
2424
4. **Get the Swift SDK artifactbundle URL**
2525

2626
Find the URL ending with `.artifactbundle.zip` from the release page you found in step 1.
27+
Currently we provide Swift SDKs for the following WebAssembly targets:
28+
- `wasm32-unknown-wasi` (Recommended): for [WASI Preview 1](https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md)
29+
- `wasm32-unknown-wasip1-threads`: for WASI Preview 1 with [wasi-threads](https://github.com/WebAssembly/wasi-threads) extension
30+
> Choose `wasm32-unknown-wasi` if you are not sure which target to use.
2731
2832
5. **Install the Swift SDK for WebAssembly**
2933

0 commit comments

Comments
 (0)