Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jan 27, 2026

This worked with MINIMAL_RUNTIME but would error out otherwise.

This removes the need to the custom shell_that_launches_modularize.html we used in test browser_test.py.

Fixes: #7950

@sbc100 sbc100 requested review from dschuff, juj and kripken January 27, 2026 00:52
This worked with MINIMAL_RUNTIME but would error out otherwise.

This removes the need to the custom shell_that_launches_modularize.html
we used in test browser_test.py.

Fixes: emscripten-core#7950
@sbc100 sbc100 force-pushed the remove_modularize_error branch from cd26eea to 4eebe4c Compare January 27, 2026 01:27
statusElement.innerHTML = text;
};

#if MODULARIZE && !EXPORT_ES6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this is the first time we use the preprocessor in these files - there is maybe some risk users were using the file directly? I thought we even had tests that just use the HTML, but maybe I'm wrong?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They already have {{{ SCRIPT }}} here in all of these files, so they already all need processing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, good point.

statusElement.innerHTML = text;
};

#if MODULARIZE && !EXPORT_ES6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, good point.

@sbc100 sbc100 merged commit ca1e45c into emscripten-core:main Jan 27, 2026
36 checks passed
@sbc100 sbc100 deleted the remove_modularize_error branch January 27, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MODULARIZE & EXPORT_NAME build options oddities

2 participants