Skip to content

Commit a295ce8

Browse files
authored
Add missing rustflags for exporting to web (#63)
1 parent 8f82e16 commit a295ce8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/toolchain/export-web.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ rustflags = [
7474
"-C", "link-args=-sSIDE_MODULE=2",
7575
"-C", "link-args=-pthread", # was -sUSE_PTHREADS=1 in earlier emscripten versions
7676
"-C", "target-feature=+atomics,+bulk-memory,+mutable-globals",
77-
"-Zlink-native-libraries=no"
77+
"-Zlink-native-libraries=no",
78+
"-Cllvm-args=-enable-emscripten-cxx-exceptions=0",
7879
]
7980
```
8081

0 commit comments

Comments
 (0)