Skip to content

Commit

Permalink
Permit dead code to resolve build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
morisja committed Oct 3, 2024
1 parent 898003f commit 0ec334e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0ec334e

Please sign in to comment.