commit dc7d354ee4c34b9f2f1b2b34fc755d3740878044 (tree)
parent 1795472eb71a52d37d73dcf4cac82af44f6ddc3c
Author: Takeshi Yoneda <takeshi@tetrate.io>
Date: Tue, 15 Jun 2021 09:32:48 +0900
Add a missing comment.
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/libcxx.zig b/src/libcxx.zig
@@ -141,6 +141,7 @@ pub fn buildLibCXX(comp: *Compilation) !void {
if (target.os.tag == .wasi) {
// WASI doesn't support thread yet.
try cflags.append("-D_LIBCPP_HAS_NO_THREADS");
+ // Also, exception is not supported yet.
try cflags.append("-fno-exceptions");
}