We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86714c9 commit 5eae9b2Copy full SHA for 5eae9b2
src/getting-started/troubleshooting.md
@@ -35,3 +35,13 @@ You have two options to solve this issue:
35
36
37
See also: [LLVM Bugzilla – wasm32: Allow placing the stack before global data](https://bugs.llvm.org/show_bug.cgi?id=37181)
38
+
39
+## `fatal error: 'stdlib.h' file not found`
40
41
+If you encounter this error, please make sure that:
42
43
+- You are using SwiftWasm toolchain (if you installed it as a toolchain, not as a Swift SDK)
44
+ - Check `which swift` and make sure it points to the SwiftWasm toolchain.
45
+- You are using the correct target triple:
46
+ - `--triple wasm32-unknown-wasi --static-swift-stdlib` if you installed as a *toolchain*
47
+ - `--swift-sdk wasm32-unknown-wasi` if you installed as a *Swift SDK*
0 commit comments