diff options
author | stephan <stephan@noemail.net> | 2022-10-19 01:07:30 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-10-19 01:07:30 +0000 |
commit | 71de8e02416aa9a4ad90ac6958ff3fa025a33d2d (patch) | |
tree | 0c2b079d3d1015cbbc4af3dfd08107e96d2e2d1d /ext/wasm/api/sqlite3-wasm.c | |
parent | b5e2e6fcd39901f3280a4bbbfec7f41d4bcc48f8 (diff) | |
download | sqlite-71de8e02416aa9a4ad90ac6958ff3fa025a33d2d.tar.gz sqlite-71de8e02416aa9a4ad90ac6958ff3fa025a33d2d.zip |
Considerable wasm/js build cleanups and reworking. Remove wasmfs builds from the end-user deliverables and disable the wasmfs build by default, per /chat discussion, as it doubles our deliverable count for only marginal gain. Attempt to move the sqlite3.js/wasm files into subdirectories but rediscovered that that breaks loading in Worker mode because URI resolution of the wasm files differs depending on whether the main script is loaded from a script tag or a Worker.
FossilOrigin-Name: 5b23e0675efdd2f1ea7b4f5836a579e8d6aa8a25b3f1a6a950520ad845ff01bb
Diffstat (limited to 'ext/wasm/api/sqlite3-wasm.c')
-rw-r--r-- | ext/wasm/api/sqlite3-wasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c index 26771d5c9..cda4e7ae2 100644 --- a/ext/wasm/api/sqlite3-wasm.c +++ b/ext/wasm/api/sqlite3-wasm.c @@ -1007,7 +1007,7 @@ int sqlite3_wasm_init_wasmfs(const char *zMountPoint){ hypothetically suffice for the transient wasm-based virtual filesystem we're currently running in. */ const int rc = wasmfs_create_directory(zMountPoint, 0777, pOpfs); - emscripten_console_logf("OPFS mkdir(%s) rc=%d", zMountPoint, rc); + /*emscripten_console_logf("OPFS mkdir(%s) rc=%d", zMountPoint, rc);*/ if(rc) return SQLITE_IOERR; } return pOpfs ? 0 : SQLITE_NOMEM; |