Skip to content

Commit 8408283

Browse files
committed
feat: add support for windows cross-compilation
1 parent c74c8ee commit 8408283

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
@@ -478,6 +478,8 @@ fn build_multiple_ciphers(target: &str, out_path: &Path) {
478478
"Linux"
479479
} else if cc.contains("darwin") {
480480
"Darwin"
481+
} else if cc.contains("w64") {
482+
"Windows"
481483
} else {
482484
panic!("Unsupported cross target {}", cc)
483485
};

0 commit comments

Comments
 (0)