-
Notifications
You must be signed in to change notification settings - Fork 429
Open
Description
Commit 8ea257a introduced a compile-time error on non-Unix systems.
How to reproduce (eg. on Windows):
cargo build -p libsql --no-default-features --features core
Build fails with the following error:
error[E0599]: no method named `to_str` found for type parameter `impl AsRef<Path>` in the current scope
--> libsql-sys\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
Metadata
Metadata
Assignees
Labels
No labels