mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-28 21:44:21 +01:00
This change enables the Go adapter to embed platform-specific libraries and extract them at runtime, eliminating the need for users to set LD_LIBRARY_PATH or other environment variables. - Add embedded.go with core library extraction functionality - Update limbo_unix.go and limbo_windows.go to use embedded libraries - Add build_lib.sh script to generate platform-specific libraries - Update README.md with documentation for the new feature - Add .gitignore to prevent committing binary files - Add test coverage for Vector operations (vector(), vector_extract(), vector_distance_cos()) and sqlite core features The implementation maintains backward compatibility with the traditional library loading mechanism as a fallback. This approach is inspired by projects like go-embed-python that use a similar technique for native library distribution. https://github.com/tursodatabase/limbo/issues/506 Reviewed-by: Preston Thorpe (@PThorpe92) Closes #1434