| author | |
| committer | |
| log | dc7d354ee4c34b9f2f1b2b34fc755d3740878044 |
| tree | 5cb74cca3db42f279695cbcab5d9778dac1cc78a |
| parent | 1795472eb71a52d37d73dcf4cac82af44f6ddc3c |
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>1 files changed, 1 insertions(+), 0 deletions(-)
src/libcxx.zig+1| ... | ... | @@ -141,6 +141,7 @@ pub fn buildLibCXX(comp: *Compilation) !void { |
| 141 | 141 | if (target.os.tag == .wasi) { |
| 142 | 142 | // WASI doesn't support thread yet. |
| 143 | 143 | try cflags.append("-D_LIBCPP_HAS_NO_THREADS"); |
| 144 | // Also, exception is not supported yet. | |
| 144 | 145 | try cflags.append("-fno-exceptions"); |
| 145 | 146 | } |
| 146 | 147 |