Skip to content

Commit cb4cfe0

Browse files
deploy: 207d8d8
1 parent 9da219a commit cb4cfe0

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

getting-started/troubleshooting.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ <h2><a class="header" href="#fatal-error-stdlibh-file-not-found" id="fatal-error
202202
</ul>
203203
</li>
204204
</ul>
205+
<h2><a class="header" href="#error-missing-external-dependency-usrlibswiftwasistatic-executable-argslnk" id="error-missing-external-dependency-usrlibswiftwasistatic-executable-argslnk">`error: missing external dependency '.../usr/lib/swift/wasi/static-executable-args.lnk'</a></h2>
206+
<p>You may encounter this error while building with Swift SDK for WebAssembly and <code>swiftc</code> driver command. Unfortunately, Swift SDK does not support building with <code>swiftc</code> command yet, so you need to use <code>swift build</code> Swift Package Manager command instead.</p>
207+
<p>e.g. <code>swift build --swift-sdk &lt;SDK name&gt;</code></p>
208+
<p>See also: <a href="./swift-package.html">Compile a SwiftPM package to WebAssembly</a></p>
205209

206210
</main>
207211

print.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,10 @@ <h2><a class="header" href="#fatal-error-stdlibh-file-not-found" id="fatal-error
762762
</ul>
763763
</li>
764764
</ul>
765+
<h2><a class="header" href="#error-missing-external-dependency-usrlibswiftwasistatic-executable-argslnk" id="error-missing-external-dependency-usrlibswiftwasistatic-executable-argslnk">`error: missing external dependency '.../usr/lib/swift/wasi/static-executable-args.lnk'</a></h2>
766+
<p>You may encounter this error while building with Swift SDK for WebAssembly and <code>swiftc</code> driver command. Unfortunately, Swift SDK does not support building with <code>swiftc</code> command yet, so you need to use <code>swift build</code> Swift Package Manager command instead.</p>
767+
<p>e.g. <code>swift build --swift-sdk &lt;SDK name&gt;</code></p>
768+
<p>See also: <a href="getting-started/./swift-package.html">Compile a SwiftPM package to WebAssembly</a></p>
765769
<h1><a class="header" href="#examples" id="examples">Examples</a></h1>
766770
<p>This section shows you example usage of our toolchain.</p>
767771
<h1><a class="header" href="#importing-a-function-from-host-environments" id="importing-a-function-from-host-environments">Importing a function from host environments</a></h1>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)