We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b86ded commit b03bf4dCopy full SHA for b03bf4d
build.rs
@@ -26,4 +26,8 @@ fn main() {
26
if Ok("macos") == env::var("CARGO_CFG_TARGET_OS").as_deref() {
27
println!("cargo:rustc-link-lib=c");
28
}
29
+
30
+ if Ok("windows") == env::var("CARGO_CFG_TARGET_OS").as_deref() {
31
+ println!("cargo:rustc-link-lib=dylib=msvcrt");
32
+ }
33
0 commit comments