emscripten-core/emscripten

Add option to disable warnings when ASYNCIFY_REMOVE functions are not found

Open

#13.179 aperta il 3 gen 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (3519 fork)batch import
asyncifyhelp wanted

Metriche repository

Star
 (27.361 star)
Metriche merge PR
 (Merge medio 19g 10h) (147 PR mergiate in 30 g)

Descrizione

My project compiles a number of related apps which make slightly different calls into an ASYNCIFY using library. I've determined there are a number of functions which are safe to include in ASYNCIFY_REMOVE, but not all of the apps call all of the functions. It is a little frustrating to have to manually track for each app which functions are called and which aren't, in order to avoid the warnings Binaryen prints.

It would be nice if there was an option to disable the Binaryen warnings when an ASYNCIFY_REMOVE function is not found.

Guida contributor