Skip to content

Commit 3ce875b

Browse files
committed
Don't use the std feature of libc.
It's not needed, and prevents some bindgen users from being able to run bindgen at build time in no_std crates, see: rust-lang/rust-bindgen#1439
1 parent 8369b9c commit 3ce875b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static = []
4343
[dependencies]
4444

4545
glob = "0.2.11"
46-
libc = "0.2.39"
46+
libc = { version = "0.2.39", default-features = false }
4747
libloading = { version = "0.5.0", optional = true }
4848

4949
[build-dependencies]

0 commit comments

Comments
 (0)