Skip to content

Mark async imports in library files instead hardcoded list. - #19134

Merged
brendandahl merged 1 commit into
emscripten-core:mainfrom
brendandahl:use-async-attribute
Apr 5, 2023
Merged

brendandahl merged 1 commit into
emscripten-core:mainfrom
brendandahl:use-async-attribute

Conversation

@brendandahl

Copy link
Copy Markdown
Collaborator

Closes #19090

Comment thread emcc.py
'emscripten_fiber_swap', '__load_secondary_module',
'wasi_snapshot_preview1.fd_sync', '__wasi_fd_sync', '_emval_await',
'_dlopen_js', '__asyncjs__*'
'wasi_snapshot_preview1.fd_sync', '__wasi_fd_sync', '__asyncjs__*'

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.

I don't see __load_secondary_module modified - is that handled differently?

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.

It's already an async function.

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.

Got it, thanks.

@brendandahl
brendandahl merged commit 6ba6f5c into emscripten-core:main Apr 5, 2023
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.

Use new way to mark JSPI JS imports.

2 participants