0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-08 16:18:02 +00:00
Files
libsql/libsql-ffi
Allan Zhang 0edf5e37ae Fix libsql-ffi build on Windows
libsql-ffi build on Windows has been intermittently broken for a while due _build.rs_ calling `cp` which is not present on Windows.

Timeline:
- 2024-08-10: Issue #1657 was opened.
- 2024-11-14: #1791 was merged. First fix using `#[cfg(windows)]`.
- 2024-11-15: #1791 reverted in 9499c3c for breaking libsql-js on macOS.
- 2024-12-04: 9499c3c was reverted since #1791 was fine and did not cause the macOS problem. Windows build works again.
- 2025-03-17: da54c1b breaks Windows build.
- 2025-03-21: 0.9.1 is released with broken Windows build.
- 2025-03-27: This commit fixes the bug introduced in da54c1b.

This commit fixes a bug introduced by da54c1b. `Command::status()?` was propogating the error so the fallback, `fs::copy`, was never reached.
This is now fixed so libsql-ffi builds again on Windows.

Closes #1657
2025-04-09 15:08:34 -04:00
..
2025-04-04 08:47:54 +02:00
2024-07-31 22:47:53 +02:00
2025-04-09 15:08:34 -04:00