Skip to content

Commit 56587b3

Browse files
committed
it seems that rust 1.95's prebuilt std for wasm32-unknown-emscripten is compiled with -fwasm-exceptions
1 parent 2262ac5 commit 56587b3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎configure‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎configure.ac‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,6 +2410,7 @@ AS_CASE([$ac_sys_system],
24102410
24112411
dnl map int64_t and uint64_t to JS bigint
24122412
AS_VAR_APPEND([LDFLAGS_NODIST], [" -sWASM_BIGINT"])
2413+
AS_VAR_APPEND([LDFLAGS_NODIST], [" -fwasm-exceptions"])
24132414
24142415
dnl Include file system support
24152416
AS_VAR_APPEND([LINKFORSHARED], [" -sFORCE_FILESYSTEM -lidbfs.js -lnodefs.js -lproxyfs.js -lworkerfs.js"])

0 commit comments

Comments
 (0)