From 0ec334ec5c900b67cf609e529aab543fee43e97f Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 3 Oct 2024 16:57:36 -0400 Subject: [PATCH] Permit dead code to resolve build issue --- src/ffi.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ffi.rs b/src/ffi.rs index 9e06301..e41e9cf 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -94,6 +94,7 @@ mod glibcffi { /// This struct can be serialized to the wire through the /// `serialize_hostent` function or retrieved from the C boundary using the /// TryFrom `libc:hostent` trait. +#[allow(dead_code)] #[derive(Clone, Debug)] pub struct Hostent { pub name: CString,