Skip to content

Commit e894fab

Browse files
committed
Silence bindgen UB warnings
1 parent 4b194a3 commit e894fab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/redisraw/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#![allow(non_snake_case)]
44
#![allow(dead_code)]
55

6+
// Workaround for https://github.com/rust-lang/rust-bindgen/issues/1651#issuecomment-848479168
7+
#[allow(deref_nullptr)]
68
pub mod bindings {
79
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
810
}

0 commit comments

Comments
 (0)