Skip to content

Commit 2c09de2

Browse files
committed
main module
1 parent 6c7a7e4 commit 2c09de2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ if(EMSCRIPTEN)
294294

295295
target_link_options(xsqlite
296296
PUBLIC "SHELL: -s MAIN_MODULE=1"
297+
PUBLIC "SHELL: -s WASM_BIGINT=1"
298+
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/src/post.js"
297299
PUBLIC "SHELL: -s FETCH=1"
298300
PUBLIC "SHELL: -s NO_EXIT_RUNTIME=1"
299301
PUBLIC "SHELL: -s 'ASYNCIFY_IMPORTS=[\"async_ems_init_idbfs\", \"async_ems_sync_db\"]'"

0 commit comments

Comments
 (0)