Skip to content

Commit e470b44

Browse files
committed
lib: Remove unused libc dependency.
1 parent c681687 commit e470b44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libbindgen/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ cexpr = "0.2"
2828
cfg-if = "0.1.0"
2929
clang-sys = { version = "0.12", features = ["runtime", "clang_3_9"] }
3030
lazy_static = "0.2.1"
31-
libc = "0.2"
3231
rustc-serialize = "0.3.19"
3332
syntex_syntax = "0.50"
3433
regex = "0.1"

libbindgen/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
88
#![deny(missing_docs)]
99
#![deny(warnings)]
10+
#![deny(unused_extern_crates)]
1011

1112
// We internally use the deprecated BindgenOptions all over the place. Once we
1213
// remove its `pub` declaration, we can un-deprecate it and remove this pragma.
@@ -17,13 +18,13 @@
1718
#![allow(non_upper_case_globals)]
1819

1920
#[macro_use]
21+
#[allow(unused_extern_crates)]
2022
extern crate cfg_if;
2123
extern crate cexpr;
2224
extern crate syntex_syntax as syntax;
2325
extern crate aster;
2426
extern crate quasi;
2527
extern crate clang_sys;
26-
extern crate libc;
2728
extern crate regex;
2829
#[macro_use]
2930
extern crate lazy_static;

0 commit comments

Comments
 (0)