Skip to content

Commit d8a653b

Browse files
authored
Stop using feature "libc/std" (#860)
1 parent 360754b commit d8a653b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ edition = "2018"
2121
jobserver = { version = "0.1.16", optional = true }
2222

2323
[target.'cfg(unix)'.dependencies]
24-
libc = "0.2.62"
24+
# Don't turn on the feature "std" for this, see https://github.com/rust-lang/cargo/issues/4866
25+
# which is still an issue with `resolver = "1"`.
26+
libc = { version = "0.2.62", default-features = false }
2527

2628
[features]
2729
parallel = ["jobserver"]

0 commit comments

Comments
 (0)