We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
*-msvc
1 parent c012613 commit 1ad2165Copy full SHA for 1ad2165
curl-sys/build.rs
@@ -7,6 +7,7 @@ fn main() {
7
println!("cargo:rerun-if-changed=curl");
8
let target = env::var("TARGET").unwrap();
9
let windows = target.contains("windows");
10
+ let msvc = target.contains("msvc");
11
12
if cfg!(feature = "mesalink") {
13
println!("cargo:warning=MesaLink support has been removed as of curl 7.82.0, will use default TLS backend instead.");
@@ -28,7 +29,7 @@ fn main() {
28
29
}
30
31
// Next, fall back and try to use pkg-config if its available.
- if windows {
32
+ if msvc {
33
if try_vcpkg() {
34
return;
35
0 commit comments