Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/WASI-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,14 @@ To make things easier, we provide
[prebuilt packages](https://github.com/CraneStation/wasi-sdk/releases)
that provide builds of Clang and sysroot libraries.

Note that C++ support has a notable
[bug](https://bugs.llvm.org/show_bug.cgi?id=40412) in clang which affects
<iostream> in libcxx. This will be fixed in future versions.
WASI doesn't yet support `setjmp`/`longjmp` or C++ exceptions, as it is
waiting for [unwinding support in WebAssembly].

[unwinding support in WebAssembly]: https://github.com/WebAssembly/exception-handling/

Some C++ programs, particularly those using `<iostream>`, may see warnings
about function signature mismatches; this is a
[known bug](https://bugs.llvm.org/show_bug.cgi?id=40412).

## How can I run programs that use WASI?

Expand Down