Skip to content

Commit

Permalink
clean up for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Aug 14, 2019
1 parent 8cbcc9c commit 0815188
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/wasi/src/state/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ fn platform_poll_events_to_pollevent_set(mut num: i16) -> PollEventSet {
}

#[cfg(not(unix))]
fn platform_poll_events_to_pollevent_set(mut num: i16) -> PollEventSet {
fn platform_poll_events_to_pollevent_set(_num: i16) -> PollEventSet {
unimplemented!("platform_poll_events_to_pollevent_set for non-Unix")
}

Expand Down Expand Up @@ -335,9 +335,9 @@ pub(crate) fn poll(

#[cfg(not(unix))]
pub(crate) fn poll(
selfs: &[&dyn WasiFile],
events: &[PollEventSet],
seen_events: &mut [PollEventSet],
_selfs: &[&dyn WasiFile],
_events: &[PollEventSet],
_seen_events: &mut [PollEventSet],
) -> Result<(), WasiFsError> {
unimplemented!("HostFile::poll in WasiFile is not implemented for non-Unix-like targets yet");
}
Expand Down

0 comments on commit 0815188

Please sign in to comment.