1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-24 09:53:10 +03:00

Build cleanups and dead code removal.

FossilOrigin-Name: b516109e5accc885b71900402c800ae855407552648861334c895f0e5dea4ee5
This commit is contained in:
stephan
2025-09-26 01:38:07 +00:00
parent ae48a2463b
commit c1254430d8
9 changed files with 65 additions and 100 deletions

View File

@@ -73,6 +73,7 @@ Module['locateFile'] = function(path, prefix) {
//#endif ifnot target=es6-bundler-friendly
//#if custom-Module.instantiateWasm
//#if !wasmfs
/**
Override Module.instantiateWasm().
@@ -83,16 +84,11 @@ Module['locateFile'] = function(path, prefix) {
In such builds we must disable this.
*/
Module[
//#if wasmfs
'emscripten-bug-17951'
//#else
'instantiateWasm'
Module['instantiateWasm'
/* This works, but it does not have the testing coverage in
the wild which Emscripten's default impl does, so we'll
save this option until we really need a custom
Module.instantiateWasm(). */
//#endif
] = function callee(imports,onSuccess){
const sims = this;
const uri = Module.locateFile(
@@ -133,6 +129,7 @@ Module[
into their glue scripts.
*/
sIMS.wasmFilename = 'sqlite3.wasm';
//#endif !wasmfs
//#endif custom-Module.instantiateWasm
/*
END FILE: api/pre-js.js, noting that the build process may append