Skip to content

pixelomer/emscripten-asyncify-25551

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal reproducible example for emscripten#25551.

Build with emcmake cmake -Bbuild -DCMAKE_BUILD_TYPE=Release && make -Cbuild -j8.

Without -s ASYNCIFY, test.html will show a hello world message. With -s ASYNCIFY, the following error will be printed to the console:

Uncaught (in promise) TypeError: Module.dynCall_i is not a function
    invoke_i http://localhost:9000/build/MyProject.js:1
    wrapper http://localhost:9000/build/MyProject.js:1
    initRuntime http://localhost:9000/build/MyProject.js:1
    doRun http://localhost:9000/build/MyProject.js:1
    run http://localhost:9000/build/MyProject.js:1
    createModule http://localhost:9000/build/MyProject.js:1
    async* http://localhost:9000/test.html:6
MyProject.js:1:550541

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published