You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use --whole-archive to build binaryen.js. NFC (#7994)
We were previously including `binaryen-c.cpp` twice. Once in the
libbinaryen library and once again as part of the
binaryen_js/binarn_wasm targets.
This previous method worked but pointlessly compiled binaryen-c.cpp
twice.
This new method as that advantage that I can also build with
`-sMAIN_MODULE=1` without getting duplicate symbol warnings.
An alternative to this technique would adding any single symbols from
`binaryen-c.cpp` to `EXPORTED_FUNCTIONS`.
0 commit comments