0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-06-01 18:03:21 +00:00
Files
libsql/libsql-sys/src
Benoît CORTIER 8ea257afe9 fix(libsql-sys): support non-Unix when rusqlite feature is disabled
Currently the codepath used when rusqlite is disabled, is
Unix-platform-dependent. This patch is adding a platform-independent
branch. The database path is expected to be UTF-8 by the libsql native
library. However, in the real world, all Unix paths are not necessarily
UTF-8. For this reason, I understand why the Unix codepath is attempting
a direct conversion from OsString to CString. However, it’s not possible
to do something similar on other platforms. For these platforms, we
are enforcing correct UTF-8 using to_str. At least, it should work
reasonably well in most cases.
2025-03-20 09:25:40 +09:00
..
2024-07-31 22:47:53 +02:00
2023-10-16 09:06:25 -07:00
2023-10-20 11:31:28 +02:00