Fix Windows compilation in libsql-sys (#2184)
This occurs on the latest released version 0.9.24 :
```
error[E0599]: no method named `to_str` found for type parameter `impl AsRef<Path>` in the current scope
Error: --> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\libsql-sys-0.9.24\src\connection.rs:287:18
|
200 | path: impl AsRef<Path>,
| ---------------- method `to_str` not found for this type parameter
...
286 | let path = path
| ________________________-
287 | | .to_str()
| | -^^^^^^ method not found in `impl AsRef<Path>`
| |_________________|
|
For more information about this error, try `rustc --explain E0599`.
error: could not compile `libsql-sys` (lib) due to 1 previous error
``` P
Pekka Enberg committed
a0604761d27158b33e180b2c952135403d89860b
Committed by GitHub <noreply@github.com>
on 11/6/2025, 2:35:01 PM