diff --git a/crates/weechat-sys/Cargo.toml b/crates/weechat-sys/Cargo.toml index fef0e29..ec5eced 100644 --- a/crates/weechat-sys/Cargo.toml +++ b/crates/weechat-sys/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" repository = "https://github.com/poljar/rust-weechat" [build-dependencies] -bindgen = "0.60.1" +bindgen = "0.70.0" [dependencies] libc = "0.2.132" diff --git a/crates/weechat-sys/build.rs b/crates/weechat-sys/build.rs index 1837e84..05e41e4 100644 --- a/crates/weechat-sys/build.rs +++ b/crates/weechat-sys/build.rs @@ -25,7 +25,7 @@ fn build(file: &str) -> Result { "WEECHAT_HOOK_SIGNAL_INT", "WEECHAT_HOOK_SIGNAL_POINTER", ]; - let mut builder = bindgen::Builder::default().rustfmt_bindings(true); + let mut builder = bindgen::Builder::default(); builder = builder.header(file);