Fix hang with Emscripten's "upstream" backend (nw)

This commit is contained in:
Justin Kerk 2020-04-16 14:37:55 +00:00
parent 4ce182352e
commit f5deabdcde

View File

@ -1156,6 +1156,8 @@ configuration { "asmjs" }
}
buildoptions_cpp {
"-std=c++14",
"-s DISABLE_EXCEPTION_CATCHING=2",
"-s EXCEPTION_CATCHING_WHITELIST=\"['_ZN15running_machine17start_all_devicesEv','_ZN12cli_frontend7executeEiPPc','_ZN8chd_file11open_commonEb','_ZN8chd_file13read_metadataEjjRNSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE','_ZN8chd_file13read_metadataEjjRNSt3__26vectorIhNS0_9allocatorIhEEEE']\"",
}
linkoptions {
"-Wl,--start-group",