diff options
author | stephan <stephan@noemail.net> | 2025-01-16 09:27:40 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2025-01-16 09:27:40 +0000 |
commit | 3202b11f66aaeac6dd86f64f3d38dff9e3464b86 (patch) | |
tree | 689465a289b094ad0c75d73ad3acba2d682a5367 /ext/wasm/api/sqlite3-api-prologue.js | |
parent | c5dd908c89436a2c1006a858ea7ebed84836453b (diff) | |
download | sqlite-3202b11f66aaeac6dd86f64f3d38dff9e3464b86.tar.gz sqlite-3202b11f66aaeac6dd86f64f3d38dff9e3464b86.zip |
Replace use of Emscripten's Module.postRun() with a custom callback so that we get consistent library init timing with both Emscripten 3.1.x and 4.0.x. Details and discussion are in [https://github.com/emscripten-core/emscripten/issues/23420|Emscripten ticket #23420].
FossilOrigin-Name: 4863a70ac61ff6f868429f16f0141484ea98f973fde1a9aff879252d0f1dbb6b
Diffstat (limited to 'ext/wasm/api/sqlite3-api-prologue.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-prologue.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/wasm/api/sqlite3-api-prologue.js b/ext/wasm/api/sqlite3-api-prologue.js index c8db3698c..ee973990a 100644 --- a/ext/wasm/api/sqlite3-api-prologue.js +++ b/ext/wasm/api/sqlite3-api-prologue.js @@ -12,12 +12,12 @@ This file is intended to be combined at build-time with other related code, most notably a header and footer which wraps this - whole file into an Emscripten Module.postRun() handler. The sqlite3 - JS API has no hard requirements on Emscripten and does not expose - any Emscripten APIs to clients. It is structured such that its build - can be tweaked to include it in arbitrary WASM environments which - can supply the necessary underlying features (e.g. a POSIX file I/O - layer). + whole file into an Emscripten Module.postRun()-style handler. The + sqlite3 JS API has no hard requirements on Emscripten and does not + expose any Emscripten APIs to clients. It is structured such that + its build can be tweaked to include it in arbitrary WASM + environments which can supply the necessary underlying features + (e.g. a POSIX file I/O layer). Main project home page: https://sqlite.org |