mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Fix clippy warnings unused imports
This commit is contained in:
parent
ce3b3b412a
commit
6354d3d14f
@ -1,4 +1,4 @@
|
||||
use libc::{abort, c_char, pid_t, c_int, fork, exit};
|
||||
use libc::{abort, c_char, pid_t, c_int, exit};
|
||||
|
||||
use crate::webassembly::Instance;
|
||||
use std::ffi::CStr;
|
||||
|
@ -25,7 +25,7 @@ use libc::{
|
||||
getsockname,
|
||||
getsockopt,
|
||||
gid_t,
|
||||
iovec,
|
||||
// iovec,
|
||||
listen,
|
||||
lseek,
|
||||
mkdir,
|
||||
@ -36,7 +36,7 @@ use libc::{
|
||||
pread,
|
||||
pwrite,
|
||||
read,
|
||||
readv,
|
||||
// readv,
|
||||
recvfrom,
|
||||
recvmsg,
|
||||
sendmsg,
|
||||
@ -50,7 +50,7 @@ use libc::{
|
||||
uname,
|
||||
utsname,
|
||||
write,
|
||||
writev,
|
||||
// writev,
|
||||
select,
|
||||
FIONBIO,
|
||||
setpgid,
|
||||
@ -58,7 +58,7 @@ use libc::{
|
||||
sa_family_t,
|
||||
in_port_t,
|
||||
in_addr_t,
|
||||
sockaddr_in,
|
||||
// sockaddr_in,
|
||||
FIOCLEX,
|
||||
SOL_SOCKET,
|
||||
TIOCGWINSZ,
|
||||
|
@ -2,7 +2,7 @@ use byteorder::{ByteOrder, LittleEndian};
|
||||
use crate::webassembly::module::Module;
|
||||
use crate::webassembly::Instance;
|
||||
use libc::stat;
|
||||
use std::ffi::{CStr, CString};
|
||||
use std::ffi::CStr;
|
||||
use std::os::raw::c_char;
|
||||
use std::slice;
|
||||
use std::mem::size_of;
|
||||
|
Loading…
Reference in New Issue
Block a user