Skip to content

Commit 00de708

Browse files
committed
feat: add support for windows cross-compilation
1 parent e6660be commit 00de708

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libsql-ffi/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,8 @@ fn build_multiple_ciphers(target: &str, out_path: &Path) {
474474
"Linux"
475475
} else if cc.contains("darwin") {
476476
"Darwin"
477+
} else if cc.contains("w64") {
478+
"Windows"
477479
} else {
478480
panic!("Unsupported cross target {}", cc)
479481
};

0 commit comments

Comments
 (0)