You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Static JS compilation with modules worked in 2022 release.
git` bisect run /bin/sh -c "make clean examples/hello_module && ./examples/hello_module"
gives
6e4931c4ad6c1f06cd1e46ecbf98e04cbb8b4ba7 is the first bad commit
commit 6e4931c4ad6c1f06cd1e46ecbf98e04cbb8b4ba7
Author: Fabrice Bellard <[email protected]>
Date: Wed Dec 27 17:10:47 2023 +0100
top-level-await support - follow the spec in the implementation of the module linking and evaluation to avoid errors with cycling module dependencies
The text was updated successfully, but these errors were encountered:
The cause is -fno-promise in HELLO_MODULE_OPTS in Makefile, it works after removing it. Looks like since the mentioned commit the module loading uses Promise internally, so -fno-promise won't work anymore.
GerHobbelt
pushed a commit
to GerHobbelt/quickjs
that referenced
this issue
May 6, 2024
Static JS compilation with modules worked in 2022 release.
gives
The text was updated successfully, but these errors were encountered: