aya: fix test warnings (#111)

pull/112/head
Rust Plumber 3 years ago committed by GitHub
parent b82d7f0515
commit 761cb79fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,11 +5,13 @@ mod perf_event;
#[cfg(test)]
mod fake;
use std::io;
#[cfg(not(test))]
use std::convert::TryInto;
use std::{ffi::CString, io, mem};
use std::{convert::TryInto, ffi::CString, mem};
use libc::{c_int, c_long, pid_t, utsname};
#[cfg(not(test))]
use libc::utsname;
use libc::{c_int, c_long, pid_t};
pub(crate) use bpf::*;
#[cfg(test)]

Loading…
Cancel
Save