Skip to content

Commit

Permalink
Don't use the std feature of libc.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
emilio committed Nov 11, 2018
1 parent 8369b9c commit 3ce875b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static = []
[dependencies]

glob = "0.2.11"
libc = "0.2.39"
libc = { version = "0.2.39", default-features = false }
libloading = { version = "0.5.0", optional = true }

[build-dependencies]
Expand Down

0 comments on commit 3ce875b

Please sign in to comment.