Skip to content

Commit 2987ec8

Browse files
authored
docs/WebAssembly.md: provide Swift SDK installation step
1 parent c2ca497 commit 2987ec8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/WebAssembly.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,14 @@ for WebAssembly is built and tested using the following command:
3030

3131
This command will build the Swift compiler for the host platform and then build the Swift standard library
3232
for WebAssembly targets. Toolchain `lit.py` tests will run on the freshly built stdlib, both for embedded and non-embedded
33-
builds. The resulting Swift SDK `.artifactbundle` will be placed in the `../swift-sdk-generator/Bundles`
34-
directory.
33+
builds.
34+
35+
The resulting Swift SDK `.artifactbundle` will be placed in the `../swift-sdk-generator/Bundles`
36+
directory. Install it using the following command (assuming you're in the `swift` directory of `update-checkout` clones):
37+
38+
```
39+
swift sdk install ../swift-sdk-generator/Bundles/swift-DEVELOPMENT-SNAPSHOT_wasm.artifactbundle
40+
```
3541

3642
## Building Swift SDK for WebAssembly without building the compiler
3743

0 commit comments

Comments
 (0)