Skip to content

Use await for loadDylibs#27079

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:dylink_async
Jun 10, 2026
Merged

Use await for loadDylibs#27079
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:dylink_async

Conversation

@sbc100

@sbc100 sbc100 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

This avoids the need for addRunDependency/removeRunDependency.

@sbc100 sbc100 requested a review from brendandahl June 9, 2026 20:25
@sbc100 sbc100 requested a review from kripken June 10, 2026 00:42
@sbc100 sbc100 force-pushed the dylink_async branch 2 times, most recently from c98a2f8 to 52ec765 Compare June 10, 2026 05:50
Comment thread src/preamble.js

@kripken kripken left a comment

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.

lgtm otherwise

Comment thread tools/settings.py Outdated
Comment thread src/preamble.js
sbc100 added a commit that referenced this pull request Jun 10, 2026
The loading of the dynamic libraries on startup has always been async
but now we make a clear error to use `-sWASM_ASYNC_COMPILATION=0` with
dynamic linking.

Split out from #27079
This avoids the need for addRunDependency/removeRunDependency.
@sbc100 sbc100 requested a review from kripken June 10, 2026 18:53
@sbc100 sbc100 merged commit 3a84c35 into emscripten-core:main Jun 10, 2026
39 checks passed
@sbc100 sbc100 deleted the dylink_async branch June 10, 2026 19:49
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