Closed
Description
When compiling hello_world.cpp, the generated JavaScript contains thousands of lines of code, the vast majority aren't needed to execute hello_world.js. Instead, the generated JavaScript should contain only what's needed.
(I'm a new emscripten contributor, and I'm filing this bug mostly to ask whether work on this topic would be valued by the emscripten community. If so, I'll be happy to send pull requests. Thanks!)