Skip to content

Commit db30604

Browse files
authored
Merge pull request rust-lang#62 from elipmoc/master
support windows OS
2 parents c3ed99c + 26f5845 commit db30604

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)