We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0d996f commit c0257c1Copy full SHA for c0257c1
crates/std_detect/Cargo.toml
@@ -21,14 +21,16 @@ is-it-maintained-open-issues = { repository = "rust-lang/stdarch" }
21
maintenance = { status = "experimental" }
22
23
[dependencies]
24
-libc = { version = "0.2", optional = true, default-features = false }
25
cfg-if = "1.0.0"
26
27
# When built as part of libstd
28
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
29
compiler_builtins = { version = "0.1.2", optional = true }
30
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
31
+[target.'cfg(not(windows))'.dependencies]
32
+libc = { version = "0.2.0", optional = true, default-features = false }
33
+
34
[dev-dependencies]
35
cupid = "0.6.0"
36
0 commit comments