aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/post-js-header.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2025-01-15 20:53:14 +0000
committerstephan <stephan@noemail.net>2025-01-15 20:53:14 +0000
commitc738052394db4847c129c5039a973972e8125152 (patch)
treeb2457081095a2662a765ced8e2c75f6c3cff28c9 /ext/wasm/api/post-js-header.js
parent874b5e9fbb22231b283ec5a56921fa9b418c5c8d (diff)
downloadsqlite-c738052394db4847c129c5039a973972e8125152.tar.gz
sqlite-c738052394db4847c129c5039a973972e8125152.zip
Work around [https://github.com/emscripten-core/emscripten/issues/23420|a behavior change in emsdk 4.0.0] which breaks the load/init timing of the wasm module.
FossilOrigin-Name: 00a750184bcf1a94bf4e7f1d5029a42671e87e2997ae97be07bd900d3702883d
Diffstat (limited to 'ext/wasm/api/post-js-header.js')
-rw-r--r--ext/wasm/api/post-js-header.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wasm/api/post-js-header.js b/ext/wasm/api/post-js-header.js
index 7fd82a7d6..d0778b980 100644
--- a/ext/wasm/api/post-js-header.js
+++ b/ext/wasm/api/post-js-header.js
@@ -10,6 +10,7 @@
if(!Module.postRun) Module.postRun = [];
Module.postRun.push(function(Module/*the Emscripten-style module object*/){
'use strict';
+ //console.warn("This is the start of the Module.postRun handler.");
/* This function will contain at least the following:
- post-js-header.js (this file)