zig-sqlite icon indicating copy to clipboard operation
zig-sqlite copied to clipboard

add sqlite wasi os polyfill

Open dasimmet opened this issue 2 years ago • 3 comments

copied from https://github.com/ericsink/wasm2cil/tree/master/sqlite3

dasimmet avatar Apr 11 '23 23:04 dasimmet

I'd like to see an explanation as to why this is useful, what the polyfill does, etc. I have no experience with wasm/wasi so I have no idea how to approach this. How do I test this ?

vrischmann avatar Apr 19 '23 18:04 vrischmann

That wasi polyfill looks quite incomplete. You can use it externally anyways by compiling the VFS and calling sqlite3_vfs_register(sqlite3_demovfs(), 0); in your app before using zig-sqlite.

Cloudef avatar Dec 17 '23 23:12 Cloudef

Hey @dasimmet, do you intend to work on this PR again ?

vrischmann avatar Apr 14 '24 16:04 vrischmann

Closing for now. If needed we'll reopen it.

vrischmann avatar May 15 '24 13:05 vrischmann