From ddcb564b46110b468f08773a6f93fff7a778ca87 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Thu, 27 Jun 2019 20:29:14 -0700 Subject: [PATCH] Silence buggy improper_ctypes warning --- keyutils-raw/src/functions.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keyutils-raw/src/functions.rs b/keyutils-raw/src/functions.rs index cd86c1e..2a29a29 100644 --- a/keyutils-raw/src/functions.rs +++ b/keyutils-raw/src/functions.rs @@ -26,6 +26,9 @@ use crate::{KeyPermissions, KeyringSerial, TimeoutSeconds}; +// Remove when rust-lang/rust#60300 is in stable +#[allow(improper_ctypes)] + #[rustfmt::skip] extern "C" { pub fn add_key(