Skip to content

hello_world.cpp generates much more JavaScript than necessary #2545

Closed
@abarth

Description

@abarth

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!)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions