Skip to content

Remove ASYNCIFY_LAZY_LOAD_CODE#25236

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:ASYNCIFY_LAZY_LOAD_CODE
Sep 9, 2025
Merged

Remove ASYNCIFY_LAZY_LOAD_CODE#25236
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:ASYNCIFY_LAZY_LOAD_CODE

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented Sep 9, 2025

This was marked a deprecated in #24383 and nobody has chimed in that they are using it.

Fixes: #16828

# a lot of code
# TODO: support other asyncify stuff, imports that don't always unwind?
# TODO: source maps etc.
args = ['--mod-asyncify-always-and-only-unwind']
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@kripken, can we remove any of this stuff from binaryen once this change lands?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, the --mod-asyncify* passes are just for this. I'm not aware of any other use.

This was marked a deprecated in emscripten-core#24383 and nobody has chimed in that
they are using it.

Fixes: emscripten-core#16828
@sbc100 sbc100 force-pushed the ASYNCIFY_LAZY_LOAD_CODE branch from 9f2f2e2 to 2f92755 Compare September 9, 2025 22:22
@sbc100 sbc100 requested review from dschuff and kripken September 9, 2025 23:03
@sbc100 sbc100 merged commit 58938a3 into emscripten-core:main Sep 9, 2025
31 checks passed
@sbc100 sbc100 deleted the ASYNCIFY_LAZY_LOAD_CODE branch September 9, 2025 23:44
inolen pushed a commit to inolen/emscripten that referenced this pull request Feb 13, 2026
This was marked a deprecated in emscripten-core#24383 and nobody has chimed in that
they are using it.

Fixes: emscripten-core#16828
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.

STACK_OVERFLOW_CHECK fails with ASYNCIFY_LAZY_LOAD_CODE

2 participants