I think this should come with the disclaimer that this completely eschews synchronization mechanisms used by SQLite.
Using this to read from a DB concurrently with other writers will produce garbage results.
Using this to write to a DB concurrently with other writers will corrupt your DB.
Using this to read from a DB concurrently with other writers will produce garbage results. Using this to write to a DB concurrently with other writers will corrupt your DB.
WASI does not expose file locking primitives, and the unix VFS simply stubs them out in WASI builds: https://github.com/sqlite/sqlite/blob/4e8e33ba84e253878797d7...