Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsql will not build on windows #1849

Open
gregtbrown opened this issue Nov 27, 2024 · 0 comments
Open

libsql will not build on windows #1849

gregtbrown opened this issue Nov 27, 2024 · 0 comments

Comments

@gregtbrown
Copy link

the code at: https://github.com/tursodatabase/libsql/blob/main/libsql-ffi/build.rs#L42

should be (based on the build platform) something like:

 Command::new("xcopy")
     .arg("/S")
     .arg(format!("{dir}\\{bindgen_rs_path}"))
     .arg(&out_path)
     .output()
     .unwrap();

I hacked this into the files installed by cargo add libsql and it allowed it to build and run successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant