1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Significant surgery on the wasm build on the way to incorporating wasmfs as a first-class build option.

FossilOrigin-Name: 215c37fce38cf647e073480689b79d952af7eb8165ae08c7f5caed27003fecfc
This commit is contained in:
stephan
2023-07-13 14:08:30 +00:00
parent d41d454fc1
commit cc336321f8
6 changed files with 156 additions and 155 deletions

View File

@ -3057,6 +3057,7 @@ globalThis.sqlite3InitModule = sqlite3InitModule;
error: ()=>{}
}
}
//#ifnot target=es6-module
if(!globalThis.sqlite3InitModule && !isUIThread()){
/* Vanilla worker, as opposed to an ES6 module worker */
/*
@ -3080,6 +3081,7 @@ globalThis.sqlite3InitModule = sqlite3InitModule;
}
importScripts(sqlite3Js);
}
//#endif
globalThis.sqlite3InitModule.__isUnderTest =
true /* disables certain API-internal cleanup so that we can
test internal APIs from here */;