Merge pull request #42 from cloudflare/jnelson/warnings
Ignore bindgen warnings until they're fixed upstream
This commit is contained in:
commit
6355fd816f
|
|
@ -15,7 +15,11 @@ use std::convert::TryInto;
|
||||||
use std::ffi::c_void;
|
use std::ffi::c_void;
|
||||||
use std::os::raw::{c_char, c_int, c_uint, c_ulong};
|
use std::os::raw::{c_char, c_int, c_uint, c_ulong};
|
||||||
|
|
||||||
|
#[allow(deref_nullptr)] // TODO: remove this when https://github.com/rust-lang/rust-bindgen/issues/1651 finally gets fixed
|
||||||
|
mod generated {
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
|
}
|
||||||
|
pub use generated::*;
|
||||||
|
|
||||||
#[cfg(target_pointer_width = "64")]
|
#[cfg(target_pointer_width = "64")]
|
||||||
pub type BN_ULONG = u64;
|
pub type BN_ULONG = u64;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue