Skip to content

Showcase the ASYNCIFY=2 problem with out params - #19988

Closed
mboc-qt wants to merge 1 commit into
emscripten-core:mainfrom
mboc-qt:showcase-asyncify-2-problem/1
Closed

mboc-qt wants to merge 1 commit into
emscripten-core:mainfrom
mboc-qt:showcase-asyncify-2-problem/1

Conversation

@mboc-qt

@mboc-qt mboc-qt commented Aug 7, 2023 •

Copy link
Copy Markdown
Contributor

There's a problem with out parameters when compiling with ASYNCIFY=2
Functions like
emscripten_idb_exists
do not see their out parameters modified when control gets back to WASM
The modified test shows what the problem is. I'd appreciate any possible solution.
I've debugged this and it seems that any change to HEAP32 is not properly reflected on WASM side later on.
See #19989

@kripken

kripken commented Aug 7, 2023

Copy link
Copy Markdown
Member

This will be fixed by #19991

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.

3 participants