Skip to content

Commit 207d8d8

Browse files
Add FAQ entry for missing external dependency error
1 parent 3e73346 commit 207d8d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/getting-started/troubleshooting.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,11 @@ If you encounter this error, please make sure that:
4545
- You are using the correct target triple:
4646
- `--triple wasm32-unknown-wasi --static-swift-stdlib` if you installed as a *toolchain*
4747
- `--swift-sdk wasm32-unknown-wasi` if you installed as a *Swift SDK*
48+
49+
## `error: missing external dependency '.../usr/lib/swift/wasi/static-executable-args.lnk'
50+
51+
You may encounter this error while building with Swift SDK for WebAssembly and `swiftc` driver command. Unfortunately, Swift SDK does not support building with `swiftc` command yet, so you need to use `swift build` Swift Package Manager command instead.
52+
53+
e.g. `swift build --swift-sdk <SDK name>`
54+
55+
See also: [Compile a SwiftPM package to WebAssembly](./swift-package.md)

0 commit comments

Comments
 (0)