Add some initial deny for unused_imports and unused_variables

Additional unused variable fix on unix

Remove unused import on unix

Remove unused windows import
This commit is contained in:
Brandon Fish
2019-05-09 19:53:23 -05:00
parent fa5402580f
commit 85158ac22a
19 changed files with 30 additions and 7 deletions

View File

@ -1,4 +1,6 @@
use crate::varargs::VarArgs;
#[cfg(target_os = "macos")]
use libc::size_t;
/// NOTE: TODO: These syscalls only support wasm_32 for now because they assume offsets are u32
/// Syscall list: https://www.cs.utexas.edu/~bismith/test/syscalls/syscalls32.html
use libc::{
@ -53,7 +55,6 @@ use libc::{
sendto,
setpgid,
setsockopt,
size_t,
sockaddr,
socket,
socklen_t,