Update WASI-tutorial.md#162
Conversation
docs/WASI-tutorial.md
Outdated
| $ clang demo.c --sysroot <path to sysroot> -o demo.wasm | ||
| ``` | ||
|
|
||
| The sysroot is folder is located in `opt/wasi-sdk/share/sysroot/`. |
There was a problem hiding this comment.
Here, depending on whether 1) you're using the wasi-sdk, or 2) stock clang-8 with wasi-sysroot, the path doesn't have to be opt/wasi-sdk/share/sysroot. It is true however that by default on Linux, wasi-sdk installs into /opt/wasi-sdk/share/sysroot, but not necessarily if using the second option. Like above perhaps it'd be better to explain that to the potential reader?
There was a problem hiding this comment.
Actually, this path recently changed, to /opt/wasi-sdk/share/wasi-sysroot; would you mind updating the PR here?
There was a problem hiding this comment.
@sunfishcode this is not released yet right? So I'll stick to opt/wasi-sdk/share/sysroot/ for now
|
I'll change it to macos specific compilation. Would have helped me, so I think others too :) |
Update README based on feedback
consistent
|
Anything still to update? |
|
Looks good, thanks! |
…ffold_host_p1 scaffold out preview 1 support
Verify `imul`, `smulhi` and `umulhi` rules. Updates #34
Fixes bytecodealliance#162 Signed-off-by: Joel Dice <joel.dice@fermyon.com>
Fixes bytecodealliance#162 Co-authored-by: Luke Wagner <mail@lukewagner.name> Signed-off-by: Joel Dice <joel.dice@fermyon.com>
Fixes bytecodealliance#162 Co-authored-by: Luke Wagner <mail@lukewagner.name> Signed-off-by: Joel Dice <joel.dice@fermyon.com>
Extend doc on how to compile