What's Changed
- The ability to redirect JS compiler stderr using
EMCC_STDERR_FILEwas
removed. These days you can useEMCC_DEBUGand/orEMCC_DEBUG_SAVEto
preserve all the intermediate JS compiler files. (#27101) - The installed versions of the compiler-rt library now follow the upstream
naming convetion oflibclang_rt.<something>.a. (#27089) - Dynamic linking now explicitly requires asynchronous Wasm compilation. The
process of loading side modules at startup currently depends on this. (#27086) - New experimental
-sCROSS_ORIGIN_STORAGElinker flag integrating the
proposed Cross-Origin Storage browser API
as a progressive enhancement for Wasm loading on the web target. See
docs/compiling/CrossOriginStorage.rstfor details. (#27066) - The
-sUSE_PTHREADSand-sMEMORY64flags have been deprecated in favor of the
more standard-pthreadand-m64(or--target=wasm64) flags. (#27025) - Adds wasm-bindgen support. When
-sWASM_BINDGENis set, Emscripten will call
out towasm-bindgenin the users's path and integrate the wasm-bindgen JS
with the normal Emscripten JS. Some wasm-bindgen features may not yet be fully
supported. (#23493) - Fixed
getentropy/random_getspuriously failing under Node.js and the
shell environment for small requests. (#27122) - The startup process for the generated program now makes use of
async/
awaitunder more circumstances (specifically when usingsetStatus, or
run dependencies). This means that errors during startup (or during the
main()function) will more often show up as unhandled promise rejections
(onunhandledreject) rather than synchronous errors (onerror). (#27121)
Contributors
Thanks to the following contributors: @sbc100 (48) @brendandahl (3) @hwhsu1231 (3) @kleisauke (3) @Diyou (2) @arsnyder16 (1) @guybedford (1) @hoodmane (1) @iakovgi (1) @juj (1) @stevenwdv (1) @tomayac (1) @valadaptive (1) @walkingeyerobot (1)
New Contributors
Full Changelog: 6.0.0...6.0.1