Our project previously build fine with Emscripten 1.29, but after 1.30 we got this in our last CI build.
warning: emitted code will contain very large numbers of local variables, which is bad for performance (build to JS with -O2 or above to avoid this - make sure to do so both on source files, and during 'linking') In our project we have used -Oz (among others) when building the library source files into an object library archive with .a extension. In the linking phase where we build our final executable to link against this .a lib file with -O3 (among others). We use -Oz then -O3 combination after reading from one of the discussion thread here that it would produce smaller JS file (which we have tested to be the case). So, is the above warning superfluous? To my understanding -Oz is similar to -Os which in turn similar to -O2. Or should we revert back the changes in our project to stick to use -O3 throughout the compile and link phases instead? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
