Skip to content

Commit 26f5845

Browse files
committed
support windows ffi.lib
1 parent c3ed99c commit 26f5845

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: build.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
fn main() {
2-
println!("cargo:rustc-link-lib=dylib=ffi");
2+
if cfg!(not(target_os = "windows")) {
3+
println!("cargo:rustc-link-lib=dylib=ffi");
4+
}
35
}

0 commit comments

Comments
 (0)