diff --git a/vpx-sys/Cargo.toml b/vpx-sys/Cargo.toml index c04836d..5e05621 100644 --- a/vpx-sys/Cargo.toml +++ b/vpx-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vpx-sys" -version = "0.1.1" +version = "0.1.2" authors = ["Luca Barbato "] edition = "2018" license = "MIT" @@ -10,8 +10,8 @@ repository = "https://github.com/rust-av/vpx-rs" build = "build.rs" [build-dependencies] -bindgen = "0.60" -system-deps = "6.0" +bindgen = "0.69" +system-deps = "6.2" [package.metadata.system-deps] vpx = "1.5.0" diff --git a/vpx-sys/src/lib.rs b/vpx-sys/src/lib.rs index 01abff0..c6ab0fd 100644 --- a/vpx-sys/src/lib.rs +++ b/vpx-sys/src/lib.rs @@ -9,7 +9,7 @@ include!(concat!(env!("OUT_DIR"), "/vpx.rs")); mod tests { use super::*; use std::ffi::CStr; - use std::mem::{self, MaybeUninit}; + use std::mem::MaybeUninit; use std::os::raw::c_ulong; #[test] fn version() { @@ -33,8 +33,7 @@ mod tests { if ret.is_null() { panic!("Image allocation failed"); } - #[allow(clippy::forget_copy)] - mem::forget(ret); // raw and ret are the same (ret does not implement Drop trait) + print!("{:#?}", raw); let mut cfg = MaybeUninit::uninit();