bun
bun copied to clipboard
Dynamically link or load libsqlite3.so?
trafficstars
What is the problem this feature will solve?
Hello,
I'm trying to get bun:sqlite working on mvsqlite. It seems that Bun statically links against SQLite3 (so it doesn't work with LD_PRELOAD), and since building Bun requires some infrastructure it's not easy to compile a custom build.
What is the feature you are proposing to solve the problem?
Is it possible to dynamically link against libsqlite3.so? Or if the goal is to ship a dependency-free binary, is it possible to provide an option to swap in a different libsqlite3.so at runtime using FFI?
What alternatives have you considered?
No response