Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 6, 2024

The emrun post.js file depend on addOnExit to report the exit of the program. We were already forcing -sEXIT_RUNTIME but this adds an error if the user tries to explicitly disable it.

@sbc100 sbc100 requested a review from kripken December 6, 2024 19:28
@sbc100 sbc100 changed the title --emrun requires EXIT_RUNTIME Error on --emrun with EXIT_RUNTIME=0 Dec 6, 2024
The emrun post.js file depend on `addOnExit` to report the exit of the
program.  We were already forcing `-sEXIT_RUNTIME` but this adds an
error if the user tries to explicitly disable it.
@sbc100 sbc100 force-pushed the emrun_exit_runtime branch from dca7546 to 38547c8 Compare December 9, 2024 18:08
@sbc100 sbc100 merged commit 1604c82 into emscripten-core:main Dec 9, 2024
26 of 28 checks passed
@sbc100 sbc100 deleted the emrun_exit_runtime branch December 9, 2024 20:52
hedwigz pushed a commit to hedwigz/emscripten that referenced this pull request Dec 18, 2024
The emrun post.js file depend on `addOnExit` to report the exit of the
program. We were already forcing `-sEXIT_RUNTIME` but this adds an error
if the user tries to explicitly disable it.
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.

2 participants